简体   繁体   中英

Rad grid form template

In Radgrid basing upon dropdown selected index changed i am binding the Radgrid. In that i click edit button Form template is opened and editing.

The following First image showing suppose i opened any record again in dropdown i am

selecting another item the formtemplate is still opened.

图片1

图片2

In the SelectIndexChanged event of the DropDownList, cancel the edit mode of the RadGrid by calling these methods:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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