Rowupdating in gridview
And hence I am making use of the View State with a code similar to this in On Load event.
[: D] I got the solution for the invisible problem I was facing in the week! But how will I find out when the control is loaded for the first time? Is Post Back property since a lot many post backs would have happened before loading the control.
I just can't help pulling my hairs out and turning into a complete bald because of this strange problem....
This is because, I haven't found any solution that matches my problem, even though many of them are on the same lines. When the application was in the Edit state, I accidentally clicked on the "Update" button in my user control... so I clicked on Edit button and then clicked on the Update button (all the while my application was in the Edit state only) and the "Update events" was raised mysteriously! As the name suggests in View mode the data can just be viewed without any permissions to make changes.