将模板转换为Masre页面 [英] convert template to masre page

查看:81
本文介绍了将模板转换为Masre页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将html模板转换为母版页.
1-我该怎么办?
2-vs无法支持某些htmal标签(此错误"vs无法支持xhtml 1.0.
3-我是否必须在母版页或.aspx文件中定义菜单和其他控件(例如按钮和登录控件)?

i want to convert a html template to a master page.
1-how can i do it?
2-vs cant support some htmal tags(with this erroe"vs can''t support xhtml 1.0.
3-do i have to define menues and other controls such as buttons and login control in master page or .aspx files?

推荐答案

将html模板转换为母版页
您必须手动执行.设计所需的母版页(可能与HTML模板中的外观和感觉类似-符合母版页类别的UI)

vs无法支持某些htmal标签(此错误"vs无法支持xhtml 1.0.
请尝试,如果找不到对应的控件,请尝试具体说明您面临的标签.

我是否必须在母版页或.aspx文件中定义菜单和其他控件(例如按钮和登录控件)
我希望您知道什么是母版页并为其指定的.根据您的网站设计,如果您希望将登录控制/菜单保留在母版页中,则可以.

以防万一,如果需要,您可以在这里阅读一些有关母版页的信息:
MSDN:ASP.NET母版页 [ ASPNET:ASP.NET母版页教程 [ ASP.NET 2.0主页 [将ASP.NET UpdatePanel控件与母版页一起使用 [
convert a html template to a master page
You have to do it manually. Design the master page as you want to (probably the similar look and feel as it is in HTML template - UI that fits in Master page category)

vs cant support some htmal tags(with this erroe"vs can''t support xhtml 1.0.
Try and if you are unable to find the corresponding control then please try to be specific and elaborate on which tags you are facing issue with.

do i have to define menues and other controls such as buttons and login control in master page or .aspx files
I hope you know what master page is and designated for. Based on your website design, if you want to keep your login control/menus in master page you can.

Just in case, if needed, here you go and read a little about Master pages:
MSDN: ASP.NET Master Pages[^]
ASPNET: ASP.NET Master Pages Tutorials[^]
ASP.NET 2.0 Master Pages[^]
Using the ASP.NET UpdatePanel Control with Master Pages[^]


这篇关于将模板转换为Masre页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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