我们如何单击网格行 [英] how we can click on grid rows

查看:70
本文介绍了我们如何单击网格行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要单击网格行,并想在该行的单击上显示另一个网格,如何解决该问题.

i want to click on the grid row and want to show another grid on the click of that row how it can be solved

推荐答案

您可以放置​​一个GridView在主网格的TempateField中.把它藏起来.使用CommandName和CommandArgumment Hide&显示该子网格.

我为您介绍的另一种最优雅的解决方案是: GridView内联Master/Detail记录显示 [^ ]

希望对您有帮助
You can put a GridView inside a TempateField of your Main Grid. Hide it. Using CommandName and CommandArgumment Hide & Show that child Grid.

Another solution, most elegant that I explain you is: GridView inline Master/Detail record display[^]

Hope it helps


您好,
请参考以下链接:
可编辑嵌套GridView(多合一) [ ^ ]
嵌套GridView [无JavaScript] [ ASP.NET中的嵌套GridView控件:最佳做法 [ ^ ]


--Amit
Hi,
Refer the links below:
Editable Nested GridView (All-in-One)[^]
Nested GridView [No JavaScripts][^]
Nested GridView controls in ASP.NET: best practices[^]


--Amit


这篇关于我们如何单击网格行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆