在ASPX页面中使用内容占位符 [英] Using content placeholder in aspx page

查看:135
本文介绍了在ASPX页面中使用内容占位符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

我有一个带有内容占位符的aspx页面,我想在单击按钮时将其他aspx页面插入该内容占位符吗?

我该怎么做

Hi All!

I have an aspx page with a content placeholder , I want to lode other aspx page int the content place holder on button click?

How i do this

推荐答案

您好

< pre lang ="c#"> plalceholderID.Controls.Add(LoadControl("ControlName"));</pre>


访问

< a href ="http://msdn.microsoft.com/zh-cn/library/c8y19k6h.aspx#Y0"></a>

您将得到这个主意

谢谢
Hi

<pre lang="c#">plalceholderID.Controls.Add(LoadControl("ControlName"));</pre>


Visit

<a href="http://msdn.microsoft.com/en-us/library/c8y19k6h.aspx#Y0"></a>

You will get the Idea

Thanx


这篇关于在ASPX页面中使用内容占位符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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