简体   繁体   English

Rad网格表单模板

[英]Rad grid form template

In Radgrid basing upon dropdown selected index changed i am binding the Radgrid. radgrid控件立足在下拉菜单中选择指标改变我绑定的radgrid控件。 In that i click edit button Form template is opened and editing. 在那我单击edit button Form template is opened并编辑edit button Form template is opened

The following First image showing suppose i opened any record again in dropdown i am 下图所示的第一张图片假设我在下拉菜单中再次打开了任何记录

selecting another item the formtemplate is still opened. 选择另一个项目,仍会打开formtemplate。

图片1

图片2

In the SelectIndexChanged event of the DropDownList, cancel the edit mode of the RadGrid by calling these methods: 在DropDownList的SelectIndexChanged事件中,通过调用以下方法来取消RadGrid的编辑模式:

radGrid1.EditIndexes.Clear(); 
radGrid1.Rebind();

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM