简体   繁体   中英

How to create a Dropdown button in asp.net c#?

Does anyone know the name of the property in which it look alike button but once if we keep the mouse pointer on it then it will show like dropdown list options. I want to use that in my asp.net project.

There is no out of the box control as such. It is an effect achieved either using javascript or CSS

Take a look at this example http://demos.9lessons.info/DropMenu/MyDemo.html

You should also search for jquery plugins for this. Though you will get readymade code for it but it will surely not be a server side control. You have choice of either creating a user control or just use it as it is.

unfortunately there is no such control out of the box in asp.net. you might want to look at third party controls or do some css magic.

Something like that maybe a standart one(1) .But I can recommend you to use telerik if you are using it already here is a example (2)

Example2

Example2

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM