When the user sets the textbox property as readonly. It does not have the viewstate. So Value wont display or comes to the server. In order to achieve the output make the textbox readonly after getting the value like this
string s=textbox1.text;
textbo1.readonly=true;
No comments:
Post a Comment