c# - How to tell a GridView to open a HyperLink on a CellClick? -
i have gridview several columns. 1 of columns templatefield containing hyperlink.
i want hyperlink "clicked" if user clicks anywhere in respective row. if user clicks in column2 of row1, want page behave if user clicked on link in column1 of row1.
how can realise such feature?
just add javascript onclick event handler row. can in onitemdatabound event can @ url in first column
Comments
Post a Comment