在模式弹出的Gridview上取消选择行 [英] row unselect on Gridview which is on Modal Pop

查看:144
本文介绍了在模式弹出的Gridview上取消选择行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好专家,

我有一个Gridview,它显示为Jquery中的Modal弹出窗口,运行得很好.
现在,在选定的gridview行上,我在文本框中具有选定行的第一个单元格.

现在我不确定要取消选择gridview的行怎么办?

能否请您提出

Hello Experts,

I have a Gridview that shows up as Modal pop up in Jquery working perfectly fine.
Now on the gridview row selected, I have a first cell of the selected row in a textbox.

Now I am not sure of what to do to unselect the rows of the gridview ?

Can you please suggest

推荐答案

类似以下内容的方法应该起作用-
Something like following should work-
myGridview.SelectedIndex = -1



希望对您有帮助:)



Hope, it helps :)


这篇关于在模式弹出的Gridview上取消选择行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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