In ASP.NET 4 I see no datagrid - only a gridview control which I presume replaces it.
However - under the datagrid I could add a database table field to the select or link button column, which gridview will not allow me to do. By adding a datafield to the link button I could fire a selectedindexchanged event from that column, which I cannot do now.
I have a menu grid which decides which controls have which data in the postback event - like in - I have a label control which loads a textfile into it. When I click on the relevant row in the datagrid, it should read another textfile and fill the label with it.
For all this I need to read the data of the invisible columns in the datagrid to obtain the necessary information.
Is there a way that I can fire a selectedindexchanged event in another way in a datagrid.
Thanks
However - under the datagrid I could add a database table field to the select or link button column, which gridview will not allow me to do. By adding a datafield to the link button I could fire a selectedindexchanged event from that column, which I cannot do now.
I have a menu grid which decides which controls have which data in the postback event - like in - I have a label control which loads a textfile into it. When I click on the relevant row in the datagrid, it should read another textfile and fill the label with it.
For all this I need to read the data of the invisible columns in the datagrid to obtain the necessary information.
Is there a way that I can fire a selectedindexchanged event in another way in a datagrid.
Thanks