You can use a hidden field to store the value changed by javascript,and then at the beginning of Page_Load,you can use Request.Form["hiddenfield"] to fetch the value。
Hi,
I've created hidden field in custom control, the value is changing from client page, when postback occurs it is not retaining the latest value as the control is created once on postback.
anandhan
Member
1 Points
44 Posts
Re: Retain changes made by javascript in custom control
Apr 30, 2012 09:46 AM|LINK
Hi,
I've created hidden field in custom control, the value is changing from client page, when postback occurs it is not retaining the latest value as the control is created once on postback.