Row updating event in grid view
To cancel the update operation, set the Cancel property of the Grid View Update Event Args object to true.
Web Controls Namespace Grid View Update Event Args Grid View.
In this article I will explain with an example, how to reference Grid View Row and get Grid View Row Index when Button, Image Button and Link Button inside the Grid View control is clicked in ASP.
Now you can ask questions directly to me on my new site ASPForums.
User Control.ascx(Page_load) The Row Updating event is not available. If you have a solution to my problem and have some code to show me a solution I wouild be very grateful.
What happens with this is that the source is being created every time the user submits the page.(Note, in the gridview the Enable View State="False" - if I set it to True I get the standard "Failed to load viewstate.error) One strange thing that I've noticed that makes me think it's a View State problem is that if I change the Command Name of the Update button to "Edit" that postback event does get captured in the Row Command event...Something in my inheritance stack (or something in the MS controls) didn't work the way I had it set up. Sql Client; public partial class _Default : System. -Frinny Hi all, I seem to be having the same issue but I don't quite follow the trouble with the above post.