菜单控件2.0 .. [英] menu controls on 2.0 ..

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

问题描述

当我上网时,我看到了很多很酷的下拉菜单..我想知道

大部分都是非.net或第三方?也许我只是不知道我在vs.net做什么,但是提供的菜单看起来有点蹩脚。


我'已经读过当有

子菜单项时,没有办法删除那个小箭头?真的吗?


另外,如何构建一个水平菜单,其中各个项目周围有一个

边框,它们之间是透明或空白的?我是否需要插入我自己的图像才能执行此操作?我希望不是。

As I surf the net I see so many cool drop down menus.. I''m wondering
are most of those non .net or third party? Perhaps I just don''t know
what I''m doing in vs.net, but the delivered menus do seem kinda lame.

I''ve read there is no way to remove that little arrow when there are
sub menu items? True?

Also, how do build a horizontal menu where individual items have a
border around them and transparent or blank spaces between them? do I
have to insert my own image to do this? I hope not.

推荐答案

有各种各样的菜单控件,你可以使用它们来涂抹

b。一个网站。

这里有一些免费的:
http://SteveOrr.net/freecontrols/menus.aspx


-

我希望这有帮助,

Steve C. Orr

MCSD,MVP,CSM
http://SteveOrr.net

< ja *** @ cyberpine.comwrote in message

news:11 ****** ***************@m73g2000cwd.googlegro ups.com ...
There are a variety of menu controls out there that you could use to spiff
up a web site.
Here are some free ones:
http://SteveOrr.net/freecontrols/menus.aspx

--
I hope this helps,
Steve C. Orr
MCSD, MVP, CSM
http://SteveOrr.net
<ja***@cyberpine.comwrote in message
news:11*********************@m73g2000cwd.googlegro ups.com...

当我上网时,我看到很多很酷的下拉菜单..我想知道

大多数是非.net或第三方?也许我只是不知道我在vs.net做什么,但是提供的菜单看起来有点蹩脚。


我'已经读过当有

子菜单项时,没有办法删除那个小箭头?真的吗?


另外,如何构建一个水平菜单,其中各个项目周围有一个

边框,它们之间是透明或空白的?我是否需要插入我自己的图像才能执行此操作?我希望不是。
As I surf the net I see so many cool drop down menus.. I''m wondering
are most of those non .net or third party? Perhaps I just don''t know
what I''m doing in vs.net, but the delivered menus do seem kinda lame.

I''ve read there is no way to remove that little arrow when there are
sub menu items? True?

Also, how do build a horizontal menu where individual items have a
border around them and transparent or blank spaces between them? do I
have to insert my own image to do this? I hope not.



史蒂夫,不错的网站。


关于主题,关于NumericTextbox在网站上的一个例子,我有点

noob,我该如何实现呢?


我尝试添加一个新类并导入新的命名空间进入

代码隐藏,然后在aspx页面上执行此操作。


< asp:textbox runat =" server" OnKeyPress =" ValidateNumeric()" />


但2.0不喜欢OnKeyPress


我也试过了,

< asp:NumericTextbox runat =" server" OnKeyPress =" ValidateNumeric()" />


但这也不起作用。


也许我需要将其添加为一个新的网络组件或什么......它是

我不清楚,也许我错过了文档中的内容。


谢谢。

史蒂夫C.奥尔[MVP,MCSD]写道:
Steve, nice site.

Off topic, regarding the NumericTextbox example on the site, I''m kinda
noob, how do I implement that?

I tried adding in a new class and importing the new namespace into the
codebehind and then doing this on the aspx page.

<asp:textbox runat="server" OnKeyPress="ValidateNumeric()"/>

but 2.0 does not like OnKeyPress

I also tried,
<asp:NumericTextbox runat="server" OnKeyPress="ValidateNumeric()"/>

but that did not work either.

Perhaps I needed to add it as a new web component or something.. it was
not clear to me, maybe I missed something in the docs.

Thanks.
Steve C. Orr [MVP, MCSD] wrote:

有各种各样的菜单控件,你可以使用它们来刺激

建立一个网站。

这里有一些免费的:
http://SteveOrr.net/freecontrols/menus.aspx


-

我希望这有帮助,

Steve C. Orr

MCSD,MVP,CSM
http://SteveOrr.net


< ja *** @ cyberpine.comwrote in message

news:11 * ********************@m73g2000cwd.googlegro ups.com ...
There are a variety of menu controls out there that you could use to spiff
up a web site.
Here are some free ones:
http://SteveOrr.net/freecontrols/menus.aspx

--
I hope this helps,
Steve C. Orr
MCSD, MVP, CSM
http://SteveOrr.net
<ja***@cyberpine.comwrote in message
news:11*********************@m73g2000cwd.googlegro ups.com...

当我上网时,我看到了很多很酷的下拉菜单..我想知道

大部分都是非.net或第三方?也许我只是不知道我在vs.net做什么,但是提供的菜单看起来有点蹩脚。


我'已经读过当有

子菜单项时,没有办法删除那个小箭头?真的吗?


另外,如何构建一个水平菜单,其中各个项目周围有一个

边框,它们之间是透明或空白的?我是否需要插入我自己的图像才能执行此操作?我希望不是。
As I surf the net I see so many cool drop down menus.. I''m wondering
are most of those non .net or third party? Perhaps I just don''t know
what I''m doing in vs.net, but the delivered menus do seem kinda lame.

I''ve read there is no way to remove that little arrow when there are
sub menu items? True?

Also, how do build a horizontal menu where individual items have a
border around them and transparent or blank spaces between them? do I
have to insert my own image to do this? I hope not.


< ja *** @ cyberpine.comwrote in message

news:11 **** ******************@k70g2000cwa.googlegr oups.com ...
<ja***@cyberpine.comwrote in message
news:11**********************@k70g2000cwa.googlegr oups.com...

关闭主题,关于NumericTextbox在网站上的一个例子,我有点

noob,我该如何实现呢?


我尝试添加一个新类并导入新的命名空间进入

代码隐藏,然后在aspx页面上执行此操作。


< asp:textbox runat =" server" OnKeyPress =" ValidateNumeric()" />


但2.0不喜欢OnKeyPress
Off topic, regarding the NumericTextbox example on the site, I''m kinda
noob, how do I implement that?

I tried adding in a new class and importing the new namespace into the
codebehind and then doing this on the aspx page.

<asp:textbox runat="server" OnKeyPress="ValidateNumeric()"/>

but 2.0 does not like OnKeyPress



嗯 - 也许我我也错过了一些东西,但是我看不出这是怎么回事,因为这将是寻找OnKeyPress事件服务器端。

但是,以下应该有效(我还没有测试过......):


< asp:TextBox ID =" txtNumericTextBox" RUNAT = QUOT;服务器" />


然后,在你的Page_Load事件中:


txtNumericTextBox.Attribtes.Add(" onKeyPress"," ValidateNumeric() " ;;);

Hmm - maybe I''m missing something too, but I can''t see how this can ever
work, because this will be looking for the OnKeyPress event server-side.
However, the following should work (I haven''t tested it...):

<asp:TextBox ID="txtNumericTextBox" runat="server" />

Then, in your Page_Load event:

txtNumericTextBox.Attribtes.Add("onKeyPress", "ValidateNumeric()";);


这篇关于菜单控件2.0 ..的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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