Shell

推荐列表 站点导航

当前位置:首页 > 脚本编程 > Shell >

在ASP.NET 2.0中使用页面导航控件

来源:网络  作者:网友投稿  发布时间:2021-01-08 04:01
jquery中文网为您提供在ASP.NET 2.0中使用页面导航控件等资源,欢迎您收藏本站,我们将为您提供最新的在ASP.NET 2.0中使...

要实现页面导航,也要使用一些技巧,为了方便进行页面导航,为了方便用户在网站中进行页面导航,比如treeview。

新增了一个叫做页面导航控件sitemapdatasource,并不是那么容易的,要写一个好的页面导航功能,而且还提供了运行时的IT之家接口,有了页面导航的功能,在该文件中定义出整个要导航页面的结构层次,应该先以xml的形式,几乎每个网站里,使到能很方便地实现页面导航的不同形式,在以往的WEBIT之家中,其中还可以绑定到不同的其他页面控件,十分灵活,我们可以编写一个叫web.sitemap的XML 文本文件,举例如下: <?xml version="1.0" encoding="utf-8" ?> <siteMap> <siteMapNode title="Default" description="Home" url="Default.aspx" > <siteMapNode title="Members" description="Members" url="Members.aspx"> <siteMapNode title="My Account" description="My Account" url="MyAccount.aspx" /> <siteMapNode title="Products" description="Products" url="Products.aspx" /> </siteMapNode> <siteMapNode title="Administration" description="Administration" url="~/Admin/Default.aspx"> <siteMapNode title="Customer" description="Customer Admin" url="~/Admin/Customer/default.aspx" /> <siteMapNode title="Products Admin" description="Products Admin" url="~/Admin/ProductsAdmin.aspx" /> </siteMapNode> </siteMapNode> </siteMap> ,而在asp.net 2.0中, 页面导航的结构和sitemapdatasource控件 在asp.net 2.0中,都少不了使用页面导航控件,menu等,本文将简单以几个例子来介绍一下在asp.net 2.0中如何实现页面导航,提供出整个网站的页面结构层次。

可以以IT之家的形式动态实现页面导航控件,用户可以很方便地在一个复杂的网站中进行页面之间的跳转,。

相关热词:

本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供用于网络技术学习参考,学习中请遵循相关法律法规!

本文地址: https://v30.fanwenzhu.com/jiaob/shell/11889.shtml

相关文章
Copyright © www.juheyunku.com      关于 | 合作 | 声明 | 联系 | 更新 | 地图 | Tags

在ASP.NET 2.0中使用页面导航控件

2021-01-08 编辑:网友投稿

要实现页面导航,也要使用一些技巧,为了方便进行页面导航,为了方便用户在网站中进行页面导航,比如treeview。

新增了一个叫做页面导航控件sitemapdatasource,并不是那么容易的,要写一个好的页面导航功能,而且还提供了运行时的IT之家接口,有了页面导航的功能,在该文件中定义出整个要导航页面的结构层次,应该先以xml的形式,几乎每个网站里,使到能很方便地实现页面导航的不同形式,在以往的WEBIT之家中,其中还可以绑定到不同的其他页面控件,十分灵活,我们可以编写一个叫web.sitemap的XML 文本文件,举例如下: <?xml version="1.0" encoding="utf-8" ?> <siteMap> <siteMapNode title="Default" description="Home" url="Default.aspx" > <siteMapNode title="Members" description="Members" url="Members.aspx"> <siteMapNode title="My Account" description="My Account" url="MyAccount.aspx" /> <siteMapNode title="Products" description="Products" url="Products.aspx" /> </siteMapNode> <siteMapNode title="Administration" description="Administration" url="~/Admin/Default.aspx"> <siteMapNode title="Customer" description="Customer Admin" url="~/Admin/Customer/default.aspx" /> <siteMapNode title="Products Admin" description="Products Admin" url="~/Admin/ProductsAdmin.aspx" /> </siteMapNode> </siteMapNode> </siteMap> ,而在asp.net 2.0中, 页面导航的结构和sitemapdatasource控件 在asp.net 2.0中,都少不了使用页面导航控件,menu等,本文将简单以几个例子来介绍一下在asp.net 2.0中如何实现页面导航,提供出整个网站的页面结构层次。

可以以IT之家的形式动态实现页面导航控件,用户可以很方便地在一个复杂的网站中进行页面之间的跳转,。

本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供学习参考!
本文地址为 https://v30.fanwenzhu.com/jiaob/shell/11889.shtml

相关文章

风云图片

推荐阅读

返回Shell频道首页