Gridview rowupdating dataitem
Means Each cell contain updatepanel control inside.. it is also binded in code behind to s data table (generated on the fly) .
Hi Mohyudhin, Actually i tested this for my scenario and its not working when i try to add the grid control itself from code behind instead of declaring it in DOM(HTML). Thanks and regards, Ram Email Id: [email protected] created nested gridview template dynamically with the help of this article which is working perfectly with parent gridview but when i update inner gridview record,we are rebinding parent/child template again and then it will fire inner gridview 'rowcommand' event to update in this case,it will lost the the data which i have entered in controls.so,what to do???? I am posting the solution incase somebody is in search for it.
Did you have this problem before and how to solve that? Row Editing, Address Of gv Schedule_Row Editing End Sub Public Sub gv Schedule_Row Editing(sender As Object, e As Grid View Edit Event Args) Handles gv Schedule.
Text = Field Name; private void On Data Binding(object sender, Event Args e) Hi i use datatable to bind datagridview first time code run smoothly.
The value is then used to pre-select an item in a Drop Down List control displayed when a row is in edit mode.
Use the Data Item property to access the properties of the underlying data object to which the Grid View Row object is bound.