cms菜单和页面链接ap.net [英] cms menu and pages links ap.net

查看:97
本文介绍了cms菜单和页面链接ap.net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在asp.net的cms中添加一个菜单.我需要的功能是,当用户创建新页面时,应将页面链接添加到菜单中.应该要求将该页面链接添加到下拉菜单/嵌套菜单或根菜单中.

任何帮助都请cms在c#asp.net中.

非常感谢

i want to add a menu to in my cms in asp.net. the functionality which i need is that, when user creates a new page so the page link should be added to the menu. The should be asked either to add the page link in the dropdown/nested menu or in the root menu.

any help please the cms is in c# asp.net.

with much thanks

推荐答案

您需要做的是以下
创建数据库表以保存所有菜单项,一旦用户想要添加新页面,就需要让他选择父页面,

现在编写一些代码来填充数据库中的菜单项.

我在这里有文章,您需要进行一些修改,即可满足您的要求

http://engthunder.wordpress.com/2011/10/17 /dynamic-menu-from-database-and-more/ [
what you need to do is the following
create database table to save all your menu items , once the user want to add the new page you need to let him choose the parent page ,

now write some code to populate menu items from the database.

i have article here you need little modification and it will match your requirements

http://engthunder.wordpress.com/2011/10/17/dynamic-menu-from-database-and-more/[^]


这篇关于cms菜单和页面链接ap.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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