Web Design and Development Forums

drop down menu using asp.net and vb

This is a discussion on "drop down menu using asp.net and vb" within the ASP.NET Forum section. This forum, and the thread "drop down menu using asp.net and vb are both part of the Program Your Website category.


Go Back   Webforumz.com > Program Your Website > ASP.NET Forum

Welcome to Webforumz.com.
Register Now Register now!

Reply
 
LinkBack Thread Tools Rate Thread
Old Jan 4th, 2008, 08:59   #1 (permalink)
Junior Member
 
Join Date: Dec 2007
Location: UK
Posts: 25
drop down menu using asp.net and vb

hi,

how do i create a drop down menu using asp.net with VB? for example, i want a file, edit etc kind of tool bar / drop down menu.
does anyone have any sugeestions or example code for this and maybe the functionality of such features like how to open a file, cut copy and paste.

thanks
skat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Jan 4th, 2008, 10:05   #2 (permalink)
Administrator
 
alexgeek's Avatar
 
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 4,102
Blog Entries: 9
Send a message via MSN to alexgeek
Re: drop down menu using asp.net and vb

HTML: Select all
  <select name="list" id="list">
    <option value="1">Selection1</option>
    <option value="2">Selection2</option>
    <option value="...">...</option>
  </select>
That is how you produce drop down boxes with HTML.

To open a file, you can upload it to your servver via a HTML form and then manipulate the handling of the file with ASP.NET.
E.G. UploadForm.aspx has a form, you browse to the text file you want to upload you submit this form to Upload.aspx.
Upload.aspx takes the file and moves it somewhere for safe keeping, and then you can do whatever you want with the file.

Copy and Paste? You don't need anything to copy and paste (ctrl +c = copy; ctrl + v= paste) but if you want to have a button which the user clicks to paste their clipboard into a textbox or something I found this javascript:

Code: Select all
<script>  
 
function a2kpaste() {  
     var rng = document.selection.createRange();  
     rng.execCommand("paste");  
}  
</script>
__________________
Languages: PHP, mySQL (queries), C#, (X)html, CSS, JS.


alexgeek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Jan 4th, 2008, 10:36   #3 (permalink)
Junior Member
 
Join Date: Dec 2007
Location: UK
Posts: 25
Re: drop down menu using asp.net and vb

thanks for ur advise alex,
i applied what you suggested
i want it to look like a toolbar like for example the one in microsft word, so when the user clicks file the menu then appears, have you got any ideas how to do this?
skat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Jan 4th, 2008, 10:58   #4 (permalink)
Administrator
 
alexgeek's Avatar
 
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 4,102
Blog Entries: 9
Send a message via MSN to alexgeek
Re: drop down menu using asp.net and vb

Do you know any javascript?
You use a premade script like FCKeditor to do this.
Just google it
__________________
Languages: PHP, mySQL (queries), C#, (X)html, CSS, JS.


alexgeek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Jan 4th, 2008, 11:46   #5 (permalink)
Junior Member
 
Join Date: Dec 2007
Location: UK
Posts: 25
Re: drop down menu using asp.net and vb

thanks for that
i googled it, its what i need
skat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Jan 4th, 2008, 11:58   #6 (permalink)
Administrator
 
alexgeek's Avatar
 
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 4,102
Blog Entries: 9
Send a message via MSN to alexgeek
Re: drop down menu using asp.net and vb

There's quite a few (they're called javascript WYSIWYG editors).
I think people like FCKeditor the most though.
__________________
Languages: PHP, mySQL (queries), C#, (X)html, CSS, JS.


alexgeek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Jan 4th, 2008, 12:51   #7 (permalink)
Junior Member
 
Join Date: Dec 2007
Location: UK
Posts: 25
Re: drop down menu using asp.net and vb

iv just found another one on this website, http://www.karamasoft.com/

do u think that i can add my own functionality like when the user has clicked save i can detect this and print out some line saying 'yes thats correct'
skat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Jan 4th, 2008, 15:53   #8 (permalink)
Administrator
 
alexgeek's Avatar
 
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 4,102
Blog Entries: 9
Send a message via MSN to alexgeek
Re: drop down menu using asp.net and vb

Yes you could.
You'll need to be quite experienced with JS though
__________________
Languages: PHP, mySQL (queries), C#, (X)html, CSS, JS.


alexgeek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Jan 5th, 2008, 22:09   #9 (permalink)
Junior Member
 
Join Date: Nov 2007
Location: New Delhi
Posts: 10
Send a message via Yahoo to amritrr Send a message via Skype™ to amritrr
Re: drop down menu using asp.net and vb

You can make a .net drop down menu by using the "Menu" control from the Toolbox. Just drag and drop it on your page. It will display a small arrow on the top of the control. Click it and you will have options to edit the menu items. Very simple and nice menu. You can also add css styling to change the appearance to your linking.
amritrr is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Jan 8th, 2008, 19:38   #10 (permalink)
Junior Member
 
Join Date: Dec 2007
Location: UK
Posts: 25
Re: drop down menu using asp.net and vb

thanks for ur advice, i have made use of this toolbar now
skat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
I have a normal css menu, but want ot add drop down menu to it multichild CSS Forum 7 Jan 9th, 2007 16:07
css drop down menu IE Kelly26 CSS Forum 3 Mar 27th, 2006 23:59
Drop down menu ... Drysdale HTML Forum 3 Jul 21st, 2005 22:00
help with drop menu makemesick JavaScript Forum 8 Apr 25th, 2005 21:19
drop menu help makemesick JavaScript Forum 2 Apr 23rd, 2005 05:48



Latest Updates

All Points SEO Security Advisory - CHECK YOUR SITE NOW!

Creative Coding :: February 2008

Webforumz is sponsored by: WESH UK Web Hosting
All times are GMT. The time now is 21:53.

Sleep Study Scoring :: Free Bet :: Website Templates :: Online Betting :: Bookmakers :: Funny Quotes :: Internet Recruitment Software :: Microsoft CRM Experts :: Online Casino :: Decorated Christmas Trees :: Midwife Forums :: Football Betting :: Ecommerce Software :: Web Hosting :: Football Stats :: Dry Cleaning Collection :: xtreme wales - extreme clothing :: Apuestas :: Sharepoint Consultants :: Website Optimisation :: Office Clearance London :: Sharepoint Experts :: Sports Betting :: Casino :: Website Templates :: Web Design Development India :: Online Gambling

Powered by: vBulletin Version 3.7, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
© 2003-2008 Webforumz.com : All Rights Reserved
Search Engine Friendly URLs by vBSEO 3.2.0 RC6


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59