Getting new value gridview rowupdating event
Only for Bound Fields in Read Only mode is the value in the Text property of the Cell itself.
Adapt to match the actual type.) Also note that values for Read Only fields will not make it into these Dictionaries.
Unless they are Key fields, there isn't really a way to get to these. Data Bind in Row Updating (or at least before the Update is actualy processed) is better not done.
Hi there, I have the same problem and I checked the e.
For the same reason, I don't do an actual update, and the new data doesn't show up in the Grid View.
When all you've got is a Hammer, Every Problem looks like a Nail. I have done this, it only shows the correct properties for things like Sort Expression, and the other one I mentioned. (Data Bind in Page_Load without checking Is Post Back is at the top.) And you're welcome. When all you've got is a Hammer, Every Problem looks like a Nail. I wanted to update this thread with more accurate information regarding the solution that solved the problem. Public Shared Function Find Control Recursive(By Val container As Control, By Val name As String) As Control If (container. Controls Dim found Ctrl As Control = Find Control Recursive(ctrl, name) If found Ctrl Is Not Nothing Then Return found Ctrl End If Next Return Nothing End Function I hope this helps someone else. Because this Gridview is inside of a Content Placeholder ofa Master page which in itself is inside of another Content Placeholder of another Master page I had to use the following lines of code to get the above code to locate the Gridview....