I have created a asp:TextBox. its disabled. but its values is changed via javascript. When i click a button to get the updated value in that textbox it always show me empty (“”).
In my Page_Load i am doing everything in if(!Page.IsPostBack) so there is no chance of updating TextBox value on postback in Page_Load.
Where i could be wrong? how can i get updated value?
Disabled textboxes are not posted back.
See: http://www.velocityreviews.com/forums/t360866-textbox-no-value-if-disabled.html
Soultion: use a hidden or readonly field.