I'm having a grid View on my page and on the Load Event on postback, I want to retreive data to get the values from the sub-controls and keep the data in an internal structure.
But, on the Load Event, I cannot retreive the values on the sub-controls because they seems not re-created ?
Issue with getting values from child controls in a gridview, to use for the update using a SQLData Source control Hi all, I have a gridview bound with a SQLData Source.
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...
Getting column value from a gridview control I have a grid view control and has one datakey and other columns. How to get gridview values from Row Updating method I have a gridview with the select & edit commands enabled.
I am looking into it right now, but I believe you can order the Grid View to stop its own update process using the Grid View Update Event Args ('e'). Cancel = True "Gets and Sets a value indicating whether the event should be cancelled" Please click 'Mark as Answer' if reply assisted you.
Execute Non Query(_connection String, Command Type. I believe this means it's attempting to do it twice (your method, and then the internalized methods based on the Grid View and the Data Source your gridview is using).
What seems to happen is ‘Grid View1_Row Updating’ gets fired, at this point new English, new French, and new German all have the new values as they are passed into ‘Logic. Then the update functions updates correctly, but once the ‘Grid View1_Row Updating’ sub ends, it seems to call Logic.
Update another time, and this is where the new values get lost for French and German (datakeys) but not English. 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.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. Update(), but I don't see how you are telling the Grid View's own internal Update process to stop the update process... By the looks of it, when the Grid View row is being sent for Updating, you are making an interruption and doing your own update method Logic.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.