如何访问其子页面的母版页弹出窗口 [英] How to access a master page popup to its child pages

查看:85
本文介绍了如何访问其子页面的母版页弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hiiiii ............

在母版页中有一个弹出窗口,弹出窗口中有一个网格视图,弹出窗口将在点击时访问其子页面图像按钮。

在子页面中有很多图像按钮,点击特定数据或网格视图将显示的一个特定图像按钮,例如如果我们单击所有者图像按钮所有者数据绑定网格视图将显示或如果我们点击引导图像按钮将显示网格视图的引导数据...但在主页面中只有一个弹出窗口,只有一个网格视图

Hiiiii............
In master page have a popup and in that popup having a one grid view that popup will access to its child page at the click of image button.
in child page many image buttons are in,at click of one particular image button that particular data or grid view will display,for e.g. if we click on owner image button owner data bind grid view will display or if we click on lead image button lead data of grid view will display...but in master page having only one popup and only one grid view

推荐答案

你可以试试

You can try with
MasterPage mp = this.Master;



现在你可以使用FindControl()方法找到母版页的控件


Now you can find the control of master page using FindControl() method

mp.FindControl("PopupControlName");


这篇关于如何访问其子页面的母版页弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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