Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Datagrid to Gridview

Status
Not open for further replies.

BasicBoy

Programmer
Feb 22, 2008
156
ZA
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top