hi everybody,
i am facing a problem and spent a lot of time on it.so, i think forum is best way to get out from any problem..my problem is :
i have a updatepanel in that i have a gridview and a formview and in formview i have a "FileUpload" control,when i click on "Insert" button which is also in formview to save the formview data to database i couldn't get the value of Fileupload control. I can eaisly get the value of other controls but only fileupload path ,filename is null..
it happens,so i got the solution from this link :
http://marss.co.ua/FileUploadAndUpdatePanel.aspx
So, i used a seperate updatepanel in InseritemTemplate of formview and use a Postbacktrigger and pass control id of "insert button" i got the value, now everything is working fine and same as in EditItemTemplate. Locally its working very great. but when i uploaded to server it gives me an error :
"could not find the control of Id which is bind to trigger of updatepanel ".
but local on my PC working fine.
its many times that everything is working fine locally but when i uploaded gives an error.
Plz make a reply
Thanx