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

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -