在GridView的模型弹出窗口中编辑项目模板 [英] Edit Item template in model popup in GridView

查看:57
本文介绍了在GridView的模型弹出窗口中编辑项目模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

< asp:CommandField ShowEditButton ="True"/>



当单击此命令的网格视图的字段编辑按钮时,应在AJAX的ModelPop中显示编辑项目模板"..

<asp:CommandField ShowEditButton="True"/>



when click this commandField edit button of gird view then EDIT ITEM Template should be displayed in ModelPop up of AJAX..

推荐答案

Hello Vineet,

首先,您需要将命令编辑"按钮转换为Templete字段.

然后在gridview的templete中创建一个模型弹出面板,并进行相应的绑定.

将模型弹出窗口的目标设置为编辑按钮.

如果可以帮助您,请尝试此操作.

谢谢

Pankaj
Hello Vineet,

First you need to convert Command Edit button to Templete field.

Then make a model pop panel inside edit templete of gridview and bind accordingly.

Set target of model popup to edit button.

Try this, if it could help you.

Thanks

Pankaj


查看此链接

http://mattberseth.com/blog/2007/07/modalpopupextender_example_for.html [ ^ ]

http://mattberseth2.com/demo/Default.aspx?Name=Master-Detail+with+the+GridView%2c+DetailsView+and+ModalPopup+Controls&Filter=All# [
see this links

http://mattberseth.com/blog/2007/07/modalpopupextender_example_for.html[^]

http://mattberseth2.com/demo/Default.aspx?Name=Master-Detail+with+the+GridView%2c+DetailsView+and+ModalPopup+Controls&Filter=All#[^]


这篇关于在GridView的模型弹出窗口中编辑项目模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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