When I click edit on the grid and change the value of the textbox and click update the label will just display the original value of the textbox. "When I click edit on the grid and change the value of the textbox and click update the label will just display the original value of the textbox." So lets say there is "test" in the textbox originally and then I edit it to "asd" then click update.
before that i want just using Find control and casting and then retrieving all lot code. If values are same they could notify user to change the value(give new cell value).
I was just testing if I will get the changed value out of the textbox when updating with no luck.
"test" will appear in label not "asd" as I would want to.
Save all or press "Ctrl S" and hit "F5" to run the page, the page will look as in the following image: Click on "Edit the Grid View", it will display Textboxes in each cell as in the following image: Edit the value(s) here and click on the Update link, it will update all the data or to remove it click on the "Delete" link above the image shown.
One note will be helpful for you, while describing Columns in Grid View if you are using a boundfield then create objects of the control using cells[index] in the rowupdateing event of Grid View, but if you are using controls itself like Label or textboxes etc then use Fincontrol("stringid").
This works as expected and I can put a breakpoint in the Row Command event handler to see the "Event" command name.
I am not able to get the changed values that i enter in the grid view .
reached out to the artists in our community to hear their thoughts!
We will continue to update as the responses come in.
One has it's Command Name = "Update" and the other "Cancel".
My problem lies in that the click on the Update Image Button posts back, but neither the Row Command nor Row Updating events get triggered.