Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dropdown Menu in Web Forms

Status
Not open for further replies.

karth23

Programmer
May 23, 2002
13
US
I want to create a Dropdown Menu in my Web Form (WebForm1.aspx)

If would be appreciated if any one give a solution or any references for the above!

Karthik Bala
devlnk@hotmail.com
 
I would suggest using Fireworks 4's nice popup menu feature. It writes the javascript for you, which you can then manipulate through code if you wish to make the menu content dynamic. Although it takes a bit of massaging to get it to function seamlessly with your pages, it's definitely the nicest solution I've found.

:)
paul
penny1.gif
penny1.gif
 
if you don't have/can't afford Fireworks though, then the easiest way to do a popup window is simply to write a javascript function

function OpenPopup()
{
window.open(url, title, options)
}

and call it eitehr from a button click event on your page or by adding an attribute to the button in the code behind (assuming thats how you want it triggered).

The options part of the window.open will let you specify whether you want a toolbar, addressbar, height, width, resizable, etc. There's alot of documentation out there, but I'd check out for all the details.

jack
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top