Hi all:
I have 5 gridviews. If I put a text in the first row of all thr gridviews I use rowdatabound and it is ok.
The first column of the gridview is
<asp:CommandField HeaderText="Edición" ValidationGroup="clasesobras" ShowEditButton="true" EditText="Editar" ShowCancelButton="true" CancelText="Cancelar" />
But if I use a gridview, for example to filter it, it fires only the rowdatabound of that gridview and the rest fill the column as it is in the aspx page.
I do in rowdatabound
If Not fi.Exists Then
e.Row.Cells(0).Text = "normal"
Else
Dim lb As LinkButton
lb = e.Row.Cells(0).Controls(2)
lb.OnClientClick = "return confirm('¿Estás seguro de quitar este fichero?')&q ...
Go to the complete details ...