Asp net gridview rowupdating not firing

Rated 4.91/5 based on 953 customer reviews

Gridview row click event fires, when clicking on controls within row. Those events are not firing on the first click, but they are firing on th second click.

I know that when using the sql datasource, I would get all four events, Data Bound Control ' Updating, Updat... ISSUE WITH Control's behaviour inisde UPDATE PANEL hii evry1.., i have an strange issue..chk it out.. Event not Firing on first click, but fires on second click Hey Guys, I am working on a page where I am synamicall creating controls, and then adding events to those controls.

Within the Item Template I have an Image Buttong with a Command Name of "Edit".

This works as expected and I can put a breakpoint in the Row Command event handler to see the "Event" command name.

protected void Grid View1_Row Editing(object sender, Grid View Edit Event Args e) { Grid View1. New Edit Index; Sql Connection con = new Sql Connection("Data Source=MEHDI-PC\SQLEXPRESS; Initial Catalog=PIMS; Integrated Security=True"); string sql = "select [Dwg Reg ID],[Ref],[Dwg_Ref],[Title],[Dwg_Received_Date],[Rev],[Trade],[Type],[Produced_Date],[Produced_By],[Submittal_Ref],[Issued_To],[Date_Issued],[Purpose],[Status],[Action_Date] from dbo.

Open(); Sql Data Adapter adp = new Sql Data Adapter(sql, con); Data Set ds = new Data Set(); adp.

Leave a Reply