Webhierarchicaldatagrid rowupdating not firing
Hi all, I can't seem to find a post relating to the Row Updated event not firing. i ve written code like this Drop Down List ddl1= (Drop Down List)grd Validations. I've tried Image Button (which has known issues), Link Button, and just plain old vanilla Button. I know this happens after an update command happens on the database, but I want to write my own custom update. When clicking on either of these controls, my break point is never hit in the event method. Data Grids are vital controls in many user interfaces.Like it or not still 2D tables are one of the most comfortable user interface elements in not only viewing data but also in performing rapid inserts and updates.NET website, so I'm a bit embarassed to show this code. I have to paste a lot of code to show what I've done, sorry in advance. hi can anyone tell me how to findcontrol in rowupdating event of gridview? Find Control("ddl1"); Drop Down List ddl2= (Drop Down List)grd Validations. im not gettin where i ve done wrong.pavankumar Hi pavankumarkavety I notice that the status of this thread is changed to “Resolved”. No events firing from Template Field in Grid View control Hi all, I'm currently having issues with events firing from within a template field of a bound gridview control. And add it to the Session collection then we bind the Session collection to the grid.
Text; Set a debugger and check if you are passing the correct (new) value to your sql query string, and use try-catch block to catch any exception when updating.protected void gv Contact Info_Row Editing(object sender, Grid View Edit Event Args e) protected void gv Contact Info_Row Updating(object sender, Grid View Update Event Args e) protected void gv Contact Info_Row Canceling Edit(object sender, Grid View Cancel Edit Event Args e) Label lbl = ((Label)gv Contact Info. Set a debugger at the beginning of the event fired, walk through it step by step, and see if the value is updating at the spot where you're expecting.