Web用户控件 [英] Webuser controls

查看:66
本文介绍了Web用户控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我在右侧框架的母版页中具有用户控件.现在,我想更改其他用户控件(用户控件).我怎样才能做到这一点?有人可以帮我吗.



Arun.

Hi,
I have the user control with in the master page on the right side frame. Now I want to change the user control with other (user control). How can I do this? Can anybody help me, please.



Arun.

推荐答案

那么替换它,是什么问题?
So replace it, what is the issue?


删除上一个和新的用户控件.如果您希望在某种情况下动态发生这种情况,则可以使用占位符控件.只需根据您的条件动态添加用户控件.

如果不是这种情况,请提供更多详细信息.
Remove the previous one and new user control. In case you want this to happen dynamically on the basis of some condition in that case you can use a placeholder control. Just add the user control as per your condition dynamically.

If this is not the case then provide more details.


嗨..
只需根据您的条件将可见性属性设置为true/false .....

这将为您提供帮助.
hi..
what is there just set the Visible Property to true/false based on your condition.....

This will help you..


这篇关于Web用户控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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