Hi I created a control in visual basic with 3 dropdownlists in it.
When someone select a value frop ddl1, ddl2 will be filed with data.
I'm using an updatepanel because I don't need to reload the whole site everytime
When dropdownlist 2 is filled and I go to another website using a link and go back by using the browers "back" button my updatepanel doesn't work at all
The selectedvalue from the first dropdowlist can't be read by visual basic.
Even when I change the index nothing happens.
my update panel broke and I need to reload the page to make it work.
I hope I explained my problem clear. Can somebody help me?
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as
Answer” if a marked post does not actually answer your question.
pbwbart
0 Points
3 Posts
previous page trouble
Jan 22, 2009 02:06 PM|LINK
Hi I created a control in visual basic with 3 dropdownlists in it.
When someone select a value frop ddl1, ddl2 will be filed with data.
I'm using an updatepanel because I don't need to reload the whole site everytime
When dropdownlist 2 is filled and I go to another website using a link and go back by using the browers "back" button my updatepanel doesn't work at all
The selectedvalue from the first dropdowlist can't be read by visual basic.
Even when I change the index nothing happens.
my update panel broke and I need to reload the page to make it work.
I hope I explained my problem clear. Can somebody help me?
Zhi-Qiang Ni...
All-Star
33491 Points
2952 Posts
Microsoft
Re: previous page trouble
Jan 28, 2009 05:55 AM|LINK
Hi pbwbart,
AjaxControlToolkit has provided a useful extender CascadingDropDown which can achieve your goal.
Please refer to:
http://www.asp.net/AJAX/AjaxControlToolkit/Samples/CascadingDropDown/CascadingDropDown.aspx
How Do I: Use the ASP.NET AJAX CascadingDropDown Control Extender?
If you insist on using your original logic and save the history of asynchronous page refresh, please refer to this link: http://weblogs.asp.net/jimwang/archive/2009/01/05/ajax-history-and-asp-net-ajax-preview-3.aspx
Best regards,
Zhi-Qiang Ni
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as
Answer” if a marked post does not actually answer your question.