Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 01, 2012 03:00 PM by rajsedhain
Feb 29, 2012 10:16 AM|LINK
i have a general question: Is it possible to link to a certain part of a DropDownList?
e.g. I have a dropdownlist with 3 fields (2010,2011,2012), and the dropdownlist is located on my default.aspx
So is there any way i can link to the default.aspx and i will receive automatically the data from 2011?
Feb 29, 2012 10:26 AM|LINK
Feb 29, 2012 10:30 AM|LINK
1) if u select any one (ex ;2011) then??
2) u want show the related information ..( in same page )??
Feb 29, 2012 10:36 AM|LINK
Something like that:
Link: "Click for more Information"
Now the link guides me to a page e.g. test.aspx and on this side there is a dropdownlist and i want automatically get the data from the second field e.g. 2011 but normally when i link to test.aspx i will just get the data from 2010.
Hope this explained it better
Feb 29, 2012 06:27 PM|LINK
If you want the data to be updated when the user selects a different value, you can use the DropDownList.SelectedIndexChanged event:
Mar 01, 2012 03:00 PM|LINK
you can use session to store data in default.aspx page and retain on test.aspx page. Something like this:
Session = ddlName.SelectedItem.Text;
ddlName.SelectedItem.Text = Session