Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Star
10258 Points
1760 Posts
Feb 23, 2012 03:55 PM|LINK
Hi,
1. Add the hidden field from Page_Init event.
2. Access the hidden field through the FindControl method of the Page or Panel class.
HiddenField obj = Panel1.FindControl("HiddenFieldAjaxData") as HiddenField; if(obj != null) { string value = obj.Value; }
chandrasheka...
Star
10258 Points
1760 Posts
Re: hiddenfield.value not passed to server?
Feb 23, 2012 03:55 PM|LINK
Hi,
1. Add the hidden field from Page_Init event.
2. Access the hidden field through the FindControl method of the Page or Panel class.
HiddenField obj = Panel1.FindControl("HiddenFieldAjaxData") as HiddenField; if(obj != null) { string value = obj.Value; }Please try the answer for the post and finally Don't forget to click “Mark as Answer” on the post that helped you.