在两个contentplaceholder之间传递url值 [英] Passing url values between two contentplaceholder

查看:83
本文介绍了在两个contentplaceholder之间传递url值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Master页面中,我创建了两个名为MenuContent和MainContent的contentplaceholder。



MenuContnet中将显示5个功能按钮。功能按钮将根据用户工作要求显示。例如,客户详细信息,产品详细信息,报告,上载数据和管理员。每个功能都有自己的网页,如customer.aspx,product.aspx等。



功能页面将显示在MainContent中,符合用户选择。当用户单击MenuContent中的Customer DEtails按钮时,customer.aspx将显示在MainContent中。



如何触发MenuContent以显示相应页面。



我尝试过:



我曾尝试过iframe ..但问题没解决

In Master page, i had created two contentplaceholder named MenuContent and MainContent.

There will be 5 function button display in MenuContnet. The function button will display according to user job requirement. For example, Customer Details, Product Details, Reports, Upload data and Admin. Each function has its own web page like customer.aspx, product.aspx,etc.

The function page will be shown in MainContent accoding to user selection. When user click on the Customer DEtails button in MenuContent, customer.aspx will be display in MainContent.

How to trigger MenuContent to display the respective page.

What I have tried:

I had tried iframe..but problem not resolve

推荐答案





无需使用母版页使用I-Frame.create页面。使用Mater页面,您将获得整个菜单和页脚外观并感觉像母版页(主页的主要目的)。



现在创建了像customer.aspx这样的内容页面,只有客户相关的内容和其他内容相同。

点击菜单项重定向到相关页面。



问候,

Sarita Singh
Hi,

No need to use I-Frame.create pages using master pages .Using Mater page you will get the entire headed with menu and footer look and feel like master page (which is the main purpose of master page).

Now after create your content pages like customer.aspx with customer related content only and same for other.
On-click of menu items redirect to the related pages.

Regards,
Sarita Singh

这篇关于在两个contentplaceholder之间传递url值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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