Telerik RADGrid [英] Telerik RADGrid

查看:85
本文介绍了Telerik RADGrid的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以通过单击第一个网格的行从第一个网格填充第二个网格的行.
我知道我可以通过拖动&删除行,但我想通过单击行来做到这一点.
请提出建议.

Is there any way to populate a row of second grid from first grid, via clicking row of first grid.
I know i can achieve same using drag & drop rows, but i want to do it by clicking rows.
Please suggest.

推荐答案

谢谢您的提问.作为建议,您可以使用telerik rad网格的click事件,检查它是否在第一行,然后从第二行获取数据,并将其放在第一行的编程方式.

Thank you for your question. As a suggestion, You can use click event of telerik rad grid and check if it first row then get data from 2nd row and put it first row programming way.

<pre lang="XML">&lt;telerik:RadGrid AutoGenerateColumns=&quot;False&quot; ID=&quot;rgMDCountry&quot;
           DataSourceID=&quot;odsMDCountry&quot; ShowFooter=&quot;True&quot; runat=&quot;server&quot;
           OnItemCommand=&quot;rgMDCountry_ItemCommand&quot;;&gt;</pre>





protected void rgMDCountry_ItemCommand(object source, GridCommandEventArgs e)
       {
       }



谢谢,
Mamun



Thanks,
Mamun


由于您不喜欢其他答案,您是否尝试过在此处查找:
Telerik RadGrid论坛 [
Since you didnt like the other answer, did you tried looking here:
Telerik RadGrid Forum[^]
Posting here is fine. Might be someone can help but I had found that specific questions related to 3rd party is answered more quickly and accurately at respective forums.


First RadGrid的OnRowDblClick,我想将该行数据填充到第二RadGrid行.
如何实现这一目标.任何示例示例都是有帮助的.
OnRowDblClick of First RadGrid, i want to populate that row data into second RadGrid row.
How to achieve this. Any sample example is helpful.


这篇关于Telerik RADGrid的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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