PC Review


Reply
Thread Tools Rate Thread

Change value in dropdown2 if dropdown1 is clicked

 
 
jonny
Guest
Posts: n/a
 
      25th Sep 2009
Hi guys,

I have two dropdown controls on a web form. When I click on dropdown1
and make selection I would like to fire a sub that makes dropdown2 say
the word "test". This is just a little exercise so I understand how to
trigger a sub based on a dropdown click. Please advise.

 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      27th Sep 2009
On Sep 25, 2:59*pm, jonny <nelso...@hotmail.com> wrote:
> Hi guys,
>
> I have two dropdown controls on a web form. When I click on dropdown1
> and make selection I would like to fire a sub that makes dropdown2 say
> the word "test". This is just a little exercise so I understand how to
> trigger a sub based on a dropdown click. Please advise.


Take a look at the examples in MSDN
http://msdn.microsoft.com/en-us/libr...pdownlist.aspx

There is OnSelectedIndexChanged property that is referred to
Selection_Change method
 
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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change value in dropdown2 if dropdown1 is clicked jonny Microsoft VB .NET 3 25th Sep 2009 09:50 PM
Display specific values in Dropdown2 based on selection in Dropdow sam Microsoft Excel Programming 4 15th Sep 2009 02:17 PM
VBA HELP: Display values in Dropdown2 based on Dropdown2 selection sam Microsoft Excel Programming 2 15th Sep 2009 11:31 AM
Change cell value when right-clicked/double-clicked grime Microsoft Excel Programming 5 17th Oct 2005 01:52 PM
DropDown1.SelectedItem.Value....... Lasse Edsvik Microsoft ASP .NET 5 4th Oct 2004 11:51 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:14 AM.