Rowupdating get data
If you do this, your Grid View's source will be refreshed before you're able to grab the new values out of it.I'm having a very hard time understand what would prevent your event from being fired. It will be in a Dictionary, but it will be the only value in that. Please remember to click “Mark as Answer” on the post that helps you. Add("lang_String", update String) item Data Source. When I changed the Cell index in line one of the code above I did return an existing value from the Gridview. Please review the stack trace for more information about the error and where it originated in the code. Invalid Cast Exception: Unable to cast object of type 'System. Also, I do not need to extract any other values than just this one cell, I have everything else already assigned in other variables. Containing Field, Bound Field) Dim values As New Ordered Dictionary() field1Field.
You have to make sure that you aren't setting your Grid View's data when it is not postback.
NET Forum so that other people can learn from the experience too. -Frinny You may need to turn off validation even if you are not validating anything.
It seems like the Java Script can get mangled otherwise.
I have code trying to pull the values from the text boxes, but it still pulls the old values.
Most of what I have read online says I need to add Data Bind() to the Page_Load under Is Post Back, but this doesn't change anything.
Otherwise missing cells will be nulled out by the auto update operation. The dictionary consists of the new values to be set on the row's unbound cells.