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.
Fill(data Set, "This Table") Private Shared Sub Fill Error(sender As Object, _ args As Fill Error Event Args) If args.
Row Updated = new Sql Row Updated Event Handler(On Row Updated); // Set Data Adapter command properties, fill Data Set, modify Data Set. Fill Error, New Fill Error Event Handler( _ Address Of Fill Error) Dim data Set As Data Set = New Data Set adapter. ' Add a row to table using the values from the first two columns.
This enables you to provide an event-handling method that performs a custom routine, such as canceling the delete operation, whenever this event occurs.
A Grid View Delete 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 delete operation should be canceled.
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.
To cancel the update operation, set the collections, if necessary, before the values are passed to the data source.
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.event is raised when a row's Update button is clicked, but before the Grid View control updates the row.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 common way to use these collections is to HTML-encode the values supplied by the user before they are stored in the data source.
event is raised when a row's Delete button is clicked, but before the Grid View control deletes the row.The edited value is passed as a parameter to a function.