母版页实施。 [英] Master Page Implementation.

查看:79
本文介绍了母版页实施。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨会员,



我是网络开发新手,



我正在开发一个网站使用Asp.net,HTML,CSS。



我已经采用了一个母版页。菜单栏中有10个按钮。点击按钮我想在内容占位符部分显示内容。



我不想为10个按钮多个页面。我想使用One Master和一个主页(启动)。



我想在Home中动态设置内容(将从数据库中获取HTML内容)页面内容占位符区域基于按钮单击菜单栏。



请分享您的想法。



请问我,如果不清楚我想问什么。





谢谢,

Praveen

解决方案

< blockquote> ASP.NET菜单控件允许您为ASP.NET网页开发静态和动态显示的菜单。

您可以配置Menu控件的内容直接在控件中,或者您可以通过将控件绑定到数据源来指定内容。

无需编写任何代码,您可以控制ASP.NET Menu控件的外观,方向和内容。

除了控件公开的可视属性外,控件还支持ASP.NET控件皮肤和主题。



更多信息检查一下:



http://msdn.microsoft.com/en-us/library/ecs0x9w5(v = vs.80).aspx [ ^ ]



http:// asp -net-example.blogspot.com/2008/10/menu-example-how-to-use-menu-control-in.html [ ^ ]



我希望这会对你有所帮助。


Hi Member,

I am new to web development,

I am developing a website using Asp.net,HTML,CSS.

I have taken one master page. There in Menu bar I have 10 buttons. On button click I want to show the contents in Content placeholder section.

I do not want to take multiple pages for 10 buttons. I want to use One Master and one Home Page (start up).

I want to set the content (which will be HTML content fetching from database) dynamically in Home page content placeholder area based on the button click on menu bar.

Please share your ideas.

Please ask me, if its not clear what I want to ask.


Thanks,
Praveen

解决方案

The ASP.NET Menu control allows you to develop both statically and dynamically displayed menus for your ASP.NET Web pages.
You can configure the contents of the Menu control directly in the control, or you can specify the contents by binding the control to a data source.
Without writing any code, you can control the appearance, orientation, and content of an ASP.NET Menu control.
In addition to the visual properties exposed by the control, the control supports ASP.NET control skins and themes.

For more info check this :

http://msdn.microsoft.com/en-us/library/ecs0x9w5(v=vs.80).aspx[^]

http://asp-net-example.blogspot.com/2008/10/menu-example-how-to-use-menu-control-in.html[^]

I hope this will help to you.


这篇关于母版页实施。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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