L
Lubomir
Hi,
I have a BoundColumn in a DataGrid:
<asp:BoundColumn DataField="lastname" SortExpression="lastname"
ReadOnly="True" HeaderText="Last Name"></asp:BoundColumn>
Column is sorted. I am wondering why this code is working properly as there
is missing the statement runat="server".
When I click on a header of the column, the grid posts back to the server
and sorting is done. Why does it work without runat="server"? In my books is
always used runat=â€server†expression. Is it a preferable way?
Thanks,
Lubomir
I have a BoundColumn in a DataGrid:
<asp:BoundColumn DataField="lastname" SortExpression="lastname"
ReadOnly="True" HeaderText="Last Name"></asp:BoundColumn>
Column is sorted. I am wondering why this code is working properly as there
is missing the statement runat="server".
When I click on a header of the column, the grid posts back to the server
and sorting is done. Why does it work without runat="server"? In my books is
always used runat=â€server†expression. Is it a preferable way?
Thanks,
Lubomir