How to get the datakeynames value in the rowupdating event

by  |  09-Apr-2019 14:29

Getting the new value in Gridview Row Updating event I have the following code below in my Grid View1_Row Updating event. Within that Grid View is a Template Field that--in edit mode--contains a Repeater that lists all the available roles in my application as checkboxes.

Upon submit, the screen returns blank, and the database is not updated.

Here is some code: my columns here (see below for full GV code)  ... Regards, Naveen Please remember to click Mark as Answer on the pos...

The ...using javascript getting value from textbox when edit button is clicked and both controls are present in gridview control Hi All using javascript I want to get value from textbox when edit button is clicked and both controls that is texbox and button are present in gridview control . 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.

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.... When you click Edit on the Child Grid View I have a Template Field that has a Text Box. Grid View Parent-- Grid View Child (Edit - Template Field containing this Grid View Child)----- Text Box inside Template Field in Grid View Child. Peace in Christ Marco Napoli you can do as a solution is to override the Row Data Bound and try to find the child Grid View control. Accessing values of controls within a repeater in the Row Updating event of Grid View I have a Grid View with a list of users.

"If you like my work; you can appreciate by leaving your comments, hitting Facebook like button, following on Google , Twitter, Linked in and Pinterest, stumbling my posts on stumble upon and subscribing for receiving free updates directly to your inbox .

Community Discussion