I need to do the Select and Edit in the code behind because I have to change schema prefix in the sql statement depending on the current user.I have the data grid and I have event handlers for edit and cancel but an odd thing happes: I have to click the Edit link twice for it to work and I need to click the Cancel link twice for it to work (the first postback does call my funcs but does not have any effect on how the grid looks -- I have to click ...For a while now I’m trying to figure out why my method, triggered by the Grid View.
Now I will show you the C# code behind file of the above ASP.
The visitors to a web site can typically be divided into two groups: the users and the administrators.
In data driven web sites, users are normally allowed to view data and administrators are allowed to add, edit or delete data.
Do you have some sort of Java Script functionality that may be stopping it? A common problem people have with Grid Views is understanding when to data bind the data source to the Grid View.
-Frinny Hi all, I seem to be having the same issue but I don't quite follow the trouble with the above post. Can you explain the T/S a little more or maybe point me to another post that may have already covered it? Hi all, I seem to be having the same issue but I don't quite follow the trouble with the above post. Can you explain the T/S a little more or maybe point me to another post that may have already covered it? It's quite common that people create the data source and bind this source to the Grid View in their Page_Load() method.