Value in rowupdating event
Every one can use it to compare the new value with old ones.After searching long and hard I found a great article that solved my issue.
Therefore, the Java Script would not have been able to find a ‘txt Master’ and would give a control not found error.
To cancel the update operation, set the collections, if necessary, before the values are passed to the data source.
A common way to use these collections is to HTML-encode the values supplied by the user before they are stored in the data source.
First, I load up some data: After that, I’m doing some work to make my Grid View look beautifull, adding all columns by hand.
But for this demo, I’ll show you the simple version, that also doesn’t work 🙂Let’s bind the data to our Grid View and have it autogenerate our columns, as well as an edit button.
Understanding this simple difference between the two methods can save you hours of work! NET AJAX Update Panel, then you cannot use the Client Script.