(By the way, the Client Util is a class someone has written for me.) How do I make the e.Cancel = true works as if I press the Cancel button.The Row Editing event loads the page and the page loads the Usercontrol again now the gridview is in edit Mode nice but the Grid View Row Updating event is lost. User Control.ascx(Page_load) now the User Control is added to the page and the gridview is bound. Hi Debra, In dependence on the grid's edit mode, you should use either the ASPx Grid View. Find Edit Row Cell Template Control method to obtain the ASPx Text Box1 editor and pass its value to dslink. Please also take a look at the linked example E457 which may be helpful in your scenario.
Can you reference an existing project where you overwrite a column that has a value with a user.session variable? 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. After Edit and clicking on the update commandbutton--protected void Page_Load(object sender, Event Args e) After removing the ID property in the Page_Load event from the ascx, now it works even with master pages. What happens if the Button always set its own ID and then I used two buttons on my page -- that's not going to work so well. I don´t use a master page so I don´t have that problem but the damn thing wont trigger anyway.This enables you to provide an event-handling method that performs a custom routine, such as canceling the edit operation, whenever this event occurs.A Grid View Edit Event Args object is passed to the event-handling method, which enables you to determine the index of the current row and to indicate that the edit operation should be canceled.