TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Parul Rathore
NA
36
0
problem of gettting null value in fileupload control during postback of page in updatepanel control
Jan 31 2008 12:03 AM
hi...........
i have a problem in accessing filename in uploadfile control in asp.net. During postback of any button the filename becomes null. I use Fileupload.attribute["value"] property but the dat becomes null. How can i maintain filename during postback of page.
protected void cboPageNo_SelectedIndexChanged(object sender, EventArgs e)
{
if (UP_Logo.HasAttributes || UP_Logo.HasFile) <--
up_load contain null value on this event
{
UP_Logo.Attributes["values"] = UP_Logo.PostedFile.FileName.ToString();
}
multView.ActiveViewIndex = 1;
ViewState["Content"] = cboPageNo.SelectedItem.Text;
}
please give me the reply soon.
thanks a lot...........
Reply
Answers (
0
)
page_reload
Sending mails with custom buttons from C#