如何在ASP.NET中设置菜单? [英] How do I set up menus in ASP.NET?

查看:78
本文介绍了如何在ASP.NET中设置菜单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以很容易地弄清楚如何在WinForms中做到这一点,但我无法在ASP.NET中看到如何使用

来实现它。

解决方案

沮丧的.NET程序员 <的F - *** @ com.net>在消息中写道

新闻:Kw **************** @ newsread2.news.atl.earthli nk.net ...

我可以很容易地弄清楚如何在WinForms中做到这一点,但是我无法在ASP.NET中看到它是如何做到的。




你至少不是本地人......


幸运的是有很多第三方插件可以提供这个

功能:

http://www.google.com/search?sourcei...%2ENET%22 +菜单


我用这个: http://www.aitoc.com/en/flex_menu_net.html


你能更具体一点吗?

菜单是什么意思?


喜欢网站导航?

或者喜欢File,Ed它,查看,插入等。


沮丧的.NET程序员 <的F - *** @ com.net>在消息中写道

新闻:Kw **************** @ newsread2.news.atl.earthli nk.net ...

我可以很容易地弄清楚如何在WinForms中完成它,但是我无法在ASP.NET中看到它如何

如何在ASP.NET中执行它。



ASP.NET 1.1不支持这个,它将涉及编写

javascripts,具体取决于您希望如何填充和使用菜单

可能涉及javascript并进行自定义回发。


ASP.NET 2确实支持这个,并且内置了一个菜单控件。


希望有所帮助,


Jason Lind


沮丧的.NET程序员写道:

我可以很容易地弄清楚如何在WinForms中做到这一点,但我无法在ASP.NET中看到如何做到这一点。



I can easily figure out how to do it in WinForms, but I can''t see anywhere how
to do it in ASP.NET.

解决方案

"Frustrated .NET programmer" <f-***@com.net> wrote in message
news:Kw****************@newsread2.news.atl.earthli nk.net...

I can easily figure out how to do it in WinForms, but I can''t see anywhere
how
to do it in ASP.NET.



You don''t, at least, not natively...

Fortunately there is a plethora of 3rd party add-ins which provide this
functionality:

http://www.google.com/search?sourcei...%2ENET%22+menu

I use this one: http://www.aitoc.com/en/flex_menu_net.html


Can you be more specific?
What do you mean by menus?

Like a site navigation?
Or like File, Edit, View, Insert etc.

"Frustrated .NET programmer" <f-***@com.net> wrote in message
news:Kw****************@newsread2.news.atl.earthli nk.net...

I can easily figure out how to do it in WinForms, but I can''t see anywhere
how
to do it in ASP.NET.



ASP.NET 1.1 does not support this natievly, it would involve writing
javascripts, depending on how you want the menus to be populated and used it
might involve javascript and doing custom post backs.

ASP.NET 2 does support this natievly and there is a menu control built in.

Hope that helps,

Jason Lind

"Frustrated .NET programmer" wrote:

I can easily figure out how to do it in WinForms, but I can''t see anywhere how
to do it in ASP.NET.



这篇关于如何在ASP.NET中设置菜单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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