Hello,
BACKGROUND
I have created an ASP.net webform wherein I have put a multiline textbox. The user is not allowed to enter beyond a certain number of charecters in that field as this data will be stored in the DataBase(MS Access memo field).
There is a default MaxLength attribut for the TextBox control but I could not see how is it enforced by the control itself! So I have to check it programmatically. I have used the ClientScript.RegisterClientScriptBlock() command so that a JavaScript alert window prompts the user to limit the number of characters.
MAIN PROBLEM
After clicking the OK button of the alert window, when the page goes back to the previous state /* self.history.go(-1) */ all the fields are getting reset and the user will have to enter the data all through again!
This is happening only in InternetExplorer (version 6) not in Google Chrome or Firefox. Both ...
Go to the complete details ...