Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

masterpages with a dropdownlist

Status
Not open for further replies.

alvintse

Programmer
Aug 1, 2003
66
US
Hi,
I have using VS 2005 and tried to create a masterpages with header, left column for menu and right col for the content.

In the menu column, i would like to have a dropdownlist with value of account names from the database. Under the dropdrowlist, there are couple other menu such as account detail, transaction ....

When the page loaded, the value of the dropdownlist will be the default value and the content page will display the default data for that account. If the user select other account fromm the dropdownlist, the default content will change for that account.

My problem is when I select different account, the content page will change for that account. But when I click on other menu from the menu column, the masterpage refresh and the value of the dropdownlist will change back to the default value instead of keeping the selection I just made.

Hopefully I have described my question clearly and appreciate for any help.
 
Are you binding your DropDowns if (!IsPostBack)?

Just curious.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top