在内容占位符中打开网页 [英] Open a web page in a content place holder
本文介绍了在内容占位符中打开网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的,
我已经使用CSS友好的适配器控件在ASP.Net中创建了一个侧边菜单栏.现在,我希望在页面左侧的内容占位符中打开此页面,以使其看起来完美.目前,我的内容页面结构为:
Dear,
I have created a side menu bar in ASP.Net using CSS friendly adapter controls. Now I want this page to open in the content place holder located at the left of my page so that it looks perfect. Currently my content page structure is:
<%@ Page Language="C#" MasterPageFile="~/TwoColumn.master" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">Left Stuff
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">Right Stuff
</asp:Content>
请帮助我获得解决方案.提前谢谢您.
IB
Kindly help me getting a solution. Thanking you in advance.
IB
推荐答案
您可以尝试将侧面菜单栏转换为用户控件吗?
然后,您可以在所需页面的左侧使用该用户控件.
Can you try converting the side menu bar to a user control?
Then you can use that user control on the left side on what ever page you need.
对不起,亲爱的,这是行不通的.
sorry dear this is not working.
这篇关于在内容占位符中打开网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文