-----------------------------------------------------------
New Message on MumbaiUserGroup
-----------------------------------------------------------
From: leo_bigbang
Message 1 in Discussion
Hi Champ guys
Please help me .net beginner.
basically i have 2 DDowns and i need to change the corresponding value in the
second Ddown , when user selects value in first Ddown
Language is ASP.Net /VB.Net
1st ddown has hard coded values like this :
===============================
</radc:radcombobox><radc:radcombobox id="cbo_Segment" style="Z-INDEX: 102;
LEFT: 304px; POSITION: absolute; TOP: 72px"
tabIndex="3" runat="server" Width="160px" Skin="WhiteRound"
OnClientSelectedIndexChanged="IndexChanged" overlay="true">
<Items>
<radc:RadComboBoxItem Selected="True" Value="-- Select Value From Here --"
Text="-- Select Value From Here --"></radc:RadComboBoxItem>
<radc:RadComboBoxItem Value="CFG" Text="CFG"></radc:RadComboBoxItem>
<radc:RadComboBoxItem Value="COR" Text="COR"></radc:RadComboBoxItem>
<radc:RadComboBoxItem Value="SPF" Text="SPF"></radc:RadComboBoxItem>
</Items>
</radc:radcombobox>
2nd Drop Down
===========
Values comes from tables which are in data base.
i wrote SP's , wrote code and called on Page load and its coming fine.
e.g loadCFGvalues() -- this sub is loading values on page load
My real Question
=============
On selecting value from 1st DD , how can i catch the user selected value and
put here in the if else logic.
If 2ndDropDown.SelectedItem.Value = Session.Contents.Item("CFG") Then
ElseIf 2ndDropDown.SelectedItem.Value = Session.Contents.Item("COR") Then
'
ElseIf 2ndDropDown.SelectedItem.Value = Session.Contents.Item("SPF") Then
'
End If
Thanks In Advance
~MKG
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you
received this message by mistake, please click the "Remove" link below. On the
pre-addressed e-mail message that opens, simply click "Send". Your e-mail
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]