any event are perform in page than page is reload

Posted by Mona.Agr1186 under ASP.NET on 4/4/2013 | Points: 10 | Views : 760 | Status : [Member] | Replies : 3
when we perform any other event like select check box checked event or in dropdown list select any list item
then page is reload than upload file will remove and than i got the error "Object reference not set to an instance of an object."




Responses

Posted by: Jayakumars on: 4/4/2013 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi


use new instance of the object

Mark as Answer if its helpful to you

Mona.Agr1186, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: .Netlearner on: 4/4/2013 [Member] Starter | Points: 25

Up
0
Down
Check wther you have mentioned file upload within scripy manager. while using fileupload within ajax script manager this error comes.Place you File Upload out of script manager and check the output

Mona.Agr1186, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankitsrist on: 4/4/2013 [Member] Starter | Points: 25

Up
0
Down
enable Viewstate=true, or check have you used dispose method for object

Mona.Agr1186, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response