Onrowupdating not working

This enables you to provide an event-handling method that performs a custom routine, such as canceling the update operation, whenever this event occurs.A Grid View Update 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 update operation should be canceled.The txt Formula is a textbox not listed here, but it's a textbox at the top of the screen, and not part of the gridview.The text boxes are automatically created when you press the "Edit" button on an Auto Generated Columns=true. I have no idea, I just noticed it after you pointed it out. The txt Formula gets populate with the code from the text in the Grid View, just fine.Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.e" Where are you getting the Edit command button and command from?why are you sendingg both client ID and Unique ID for the same control the javascript? The reason I do that is because I don't want the edit buttons to show if there is no records.I'm looping because I want to find all the textboxes in the row upon Row Created, and add the javascript attributes to those textboxes.

event is raised when a row's Update button is clicked, but before the Grid View control updates the row.I proved this by removing the javascript, which makes everything work fine. "The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years.I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing.I then attach my own dynamic navigateurl to what the javascript is supposed to be when I don't mess around with the onfocus events for the textboxes... The only problem was that the values didn't traverse over when I looped through them. Sort of a round about way of doing it, but at least the javascript in the textboxes work. In order to get them, I got the row and looped through every textbox in that row where I grabbed the clientid of the dynamically created textbox. As I said, I create the Grid View controls dinamically, I don't have asp tags with the Gidview control.In fact, the first thing I tried was this protected void Page_Load(object sender, Event Args e) public void DT() protected void GView_Row Updating(object sender, Grid View Update Event Args e) protected void GView_Row Canceling Edit(object sender, Grid View Cancel Edit Event Args e) private void Bind Data() if I execute the method DT when Is Post Back then when the gridview enters in Edit Mode and I tried to Update the cells, the Row Updating never fires and after the post back the gridview keeps on edit mode without my changes, but I need to execute this method when is Post Back, in other way the gridview control fade away. 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. I did notice that when I remove the javascript different URL's are showing in the link for "Update".1st ROW BEFORE JAVASCRIPT UPDATE: javascript:__do Post Back('ctl07','') In order to try and change this, I changed the Row Item Created in the Data Grid to change the URL's, but that didn't work and it set the update link with something I'm not familiar with...