Alok Hi aloksinha83, Please see this post: Qin Dian Tang Microsoft Online Community Support Please remember to mark the replies as answers if they help and unmark them if they provide no help.... I've created a custom control by inheritting from Grid View.
Gridview I have a Grid View with Data Key Names="ID". I've added some events: Row Editing = new Grid View Edit Event Handler(Grid View Membership Inherited_Row Editing); Row Canceling Edit = new Grid View Cancel Edit Event Handler(Grid View Membership Inherited_Row Canceling Edit); Row Updating = new Grid View Update Event Handler(Grid View Membership Inherited_Row Updating); Row Updated = new Grid View Updated Event Handler(Grid View Membership Inherited_Row Updated); I have Row Edit enabled with Auto Generate Edit Button = true; When I press the "Edit" Button, the Upating Event fires. Grid View child of Grid View I have a Parent Grid View and when you click in the Edit one of the columns has a Template Field which has a Child Grid View.
I must be missing something here, but I can't figure out what it is. Datagrid(1.1) to Grid View(2.0) and using the Row Updating event how to extract the values from the controls.
The problem is I don't know how to access those checkboxes that were generated by the Repeater, so I'm not getting very far. The problem is when i try to get the index : Dim index As Integer = Convert. Command Argument)It tells me that the input string is not in a correct format. heres the code: Protected Sub enregistrements Grid_Row Command(By Val sender As Object, By Val e As Grid View Command Event Args) Handles enregistrements Grid. Command Name Case "Voir Details" Dim index As Integer...
I was able to make it sort of work by using the Check Changed event on the checkboxe..to find new values in gridview on rowupdating event (e.newvalues.count=0) how to find new values in gridview on rowupdating event protected void Grid View1_Row Updating(object sender, Grid View Update Event Args e) Thanks and Regards Somnath Please click “Mark as Answer” on the post if it helps you, Hi,if getting the value in boundfields within a specific cells then you can have it this waystring val = Grid View1. Setting control values in Initialize event will not post the new value.
I am having an issue where I need to set the value of a control on my screen in the Initialize Request event.
Problem is, when I set it at this point, the value does not post, instead the posted value is the value is was before the Asynchronous Post Back is triggered. When the page loads I set the value of the Text Box1 control = "Auto Script".
Here is some code: new to .net, need help setting db values from checkbox's then retrieving value to a label control Hi, Being new to i know this possible i just can't quite get it right!