如何使用uframe在asp.net页面中加载另一个页面? [英] how to use uframe to load another page in asp.net page?

查看:109
本文介绍了如何使用uframe在asp.net页面中加载另一个页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

实际上,我在asp.net页面上使用了updatepanel,因为我需要在页面上进行部分刷新.
我的页面包括3个部分.首先,它只是显示顶部菜单,一旦用户单击任何顶部菜单,它将显示左侧的子菜单,并且通过单击任意子菜单,它将显示该子菜单的内容,其中包括带有添加,编辑,删除和插入按钮.对于表,我已经使用了listview.

现在,我想在第三个面板上显示一个外部页面,这意味着当用户单击子菜单时,第三个面板将加载另一页面.例如,我的页面名称是default.aspx,一旦用户单击default.aspx页面上的子菜单,它就会在第3个面板上显示Product.aspx页面.我不想使用iframe,我已经通过 http://uframe.codeplex.com/上的uframe和 Uframe:UpdatePanel和IFRAME组合的优点,但是我无法在页面上使用uframe.
您能否指导我如何在我的页面上使用uframe或以其他任何方式在default.aspx的第3个面板上加载其他页面.
感谢您的考虑.

actually, i''m using updatepanel at my asp.net page because i need the partial refreshing at my page.
my page including 3 parts. at the first it just shows the top menu, once user clicks on any of the top menu it will shows the left sub menu and by clicking on any of the sub menu it will shows the content of the sub menu, which is including table with add, edit, delete and insert button. for the table i have used the listview.

Now i want to show one external page at the 3rd panel, which means when the user click on the sub menu the 3rd panel load the another page. for example my page name is default.aspx and once the user click on the sub menu at the default.aspx page it shows the Product.aspx page at the 3rd panel. i don''t want to use the iframe and i have gone through uframe at the http://uframe.codeplex.com/ and UFrame: Goodness of UpdatePanel and IFRAME Combined but i couldn''t use the uframe at my page.
Could you please guide me how to use uframe at my page or any other way to load the other page at the 3rd panel of my default.aspx.
appreciate your consideration.

推荐答案

我已使用用户控制方法解决了此问题.
现在,我已将页面内容放入uc1内,并使用以下代码在更新面板上调用该页面:

i have solved this problem using User Control method.
now i have put content of the page inside uc1 and used the below code to call the page at the update panel:

<uc1:WebUserControl ID="WebUserControl1"  runat="server" Visible="false" />



一旦用户单击相关按钮,我就将可见"选项更改为True.
我希望这会有所帮助.



once the user click on the related button i just change the Visible option to True.
i hope it would be helpful.


这篇关于如何使用uframe在asp.net页面中加载另一个页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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