dependent 2 select box list - how?
-
Hi, I have a static non-dynamic 2 select list box. Example: 1) 2007 2006 2005 2004 2) Jun 2007 May 2007 Apr 2007 Jun 2006 May 2006 Apr 2006 Aug 2005 Jun 2005 May 2005 Sep 2004 May 2004 So i wonder how to create a dependent select list? I want the cboDate to be appear for year that was selected on cboYear. Example: if i select cboYear 2007, i want cboDate to show only 2007 list. Can it be done? Please help. Thx.
-
Hi, I have a static non-dynamic 2 select list box. Example: 1) 2007 2006 2005 2004 2) Jun 2007 May 2007 Apr 2007 Jun 2006 May 2006 Apr 2006 Aug 2005 Jun 2005 May 2005 Sep 2004 May 2004 So i wonder how to create a dependent select list? I want the cboDate to be appear for year that was selected on cboYear. Example: if i select cboYear 2007, i want cboDate to show only 2007 list. Can it be done? Please help. Thx.
Handle the event when list one's selected index changes, and either through AJAX or a postback, repopulate list two accordingly
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Hi, I have a static non-dynamic 2 select list box. Example: 1) 2007 2006 2005 2004 2) Jun 2007 May 2007 Apr 2007 Jun 2006 May 2006 Apr 2006 Aug 2005 Jun 2005 May 2005 Sep 2004 May 2004 So i wonder how to create a dependent select list? I want the cboDate to be appear for year that was selected on cboYear. Example: if i select cboYear 2007, i want cboDate to show only 2007 list. Can it be done? Please help. Thx.
Check this out http://www.15seconds.com/issue/000831.htm[^]
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT. -
Handle the event when list one's selected index changes, and either through AJAX or a postback, repopulate list two accordingly
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
thx for reply. BUT if i use a postback, will that refresh the page? If i don't want the page to be refresh is it possible? i using ASP.NET C# code. Thx.
Put the dropdownlist in updatepanel so that part of the page will be refreshed. God is always with you.