Rad网格和模型弹出扩展器 [英] Rad grid and model popup extender

查看:99
本文介绍了Rad网格和模型弹出扩展器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的页面中我使用rad网格,在每一行中我都有链接按钮。如果我点击链接按钮,它会调用ModalPopupExtender。但是在点击模型弹出窗口之后,但网格数据出现了。



如果我点击模型弹出窗口上的关闭按钮,网格也会消失。

In my page I am using rad grid ,In each row I have link button.If I click on link button it calls ModalPopupExtender. But here after clicking model popup opening but grid data dis appearing.

If I click close button on model popup also the grid is dissappering.

推荐答案

一般使用带有gridview的modalextenderpopup控件,如下所示:



use modalextenderpopup control with gridview in general as the following:

<cc1:ModalPopupExtender ID="mpeRejectPopup" runat="server" BehaviorID="modelPopupExtender3"
    TargetControlID="hdnWindow" PopupControlID="divRejected" DropShadow="True" OnCancelScript="ResetPopUp(); return false;"
    CancelControlID="btnCancel" Enabled="true" BackgroundCssClass="ModalBackground" />





divRejected这是包含控件的DIV控件将在弹出扩展器中显示。



使用updatepanel到postpack页面。



divRejected this is DIV control contain controls will show in popup extender.

use updatepanel to postpack page.


这篇关于Rad网格和模型弹出扩展器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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