Rowupdating command gridview
HI, I am unable to find any control in row editing event of gridview that i have put in edit template. NET 2.0 Project Management, Bug Tracking & Task Management - Encourages collaboration, provides transparency and comes with metrics.I have to populate the dropdown control so that in editing the user can select value from the control. JQuery Gantt, JQuery Calendar, Site Minder/AD Authentication, Customizable Languages, Custom Fields, Lucene.How ever i can access the controls in row updating . Net Search, and more you are not using a Data Source control which means you need to provide the datasource again to the Grid View and bind it after you set the editindex (call its Data Bind() method) Only after you have bound it again with its datasource you will be able to find the Drop Down List using Find Control: EDIT: you will find other examples that involve the Row Data Bound event too - wherein you could check for the edit mode and still do the same using Find Control Pete, This is what i am doing in Row Editing .I can get the control in rowupdating but my main purpose is to get dropdown in this event and populated dropdown.
I had inadvertently set Enable View State for this textbox to "False".
Because of this, the Grid View was rebinding itself before the UPDATE occurred.