如何通过单击gridview行重定向到另一个页面 [英] How to redirect to another page by clicking on a gridview row
本文介绍了如何通过单击gridview行重定向到另一个页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hello All
我在我的页面中使用网格视图,我的要求是当我点击一行(在一行的任何地方)时,它应该被重定向到另一个页面,它将显示所选行的详细信息。
谢谢
< b>我尝试了什么:
我在我的页面中使用网格视图,我的要求是当我点击一行(任何地方)在一行),它应该被重定向到另一个页面,它将显示所选行的详细信息。
Hello All
I'm using a grid view in my page and my requirement is that when I click on a row (anywhere on a row), it should be redirected to another page which will display the details of the row selected.
Thanks
What I have tried:
I'm using a grid view in my page and my requirement is that when I click on a row (anywhere on a row), it should be redirected to another page which will display the details of the row selected.
推荐答案
试试这个
< a href =https://forums.asp.net/post/1718487.aspx>点击网格视图行重定向到另一个页面 [ ^ ]
替换ondblclick
事件使用onclick
事件
try this
Redirect to another page by clicking on a gridview row [^]
replace theondblclick
event withonclick
event
这篇关于如何通过单击gridview行重定向到另一个页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文