Hi,
i need some help regarding the usage of AJAX Controls. i need a sample application like, suppose we have 2 drop down lists. in one we have counties and in second one i want to display the states based on the selection of countries.
when we select the country, the aspx page will be disabled, and want to show like some process is going behind.
How to achieve this, Thanks in Advance
|
| Author: Karthikeyan S 28 Aug 2008 | Member Level: Gold | Rating:  Points: 6 |
User Progress Panel control in AJAX.
Create an UpdateProgress control and place text and image controls within UpdateProgress's ProgressTemplate and set the AssociatedUpdatePanelID as your dropdowns placed UpdatePanel's ID.
Following is the sample code for this:
<asp:UpdateProgress id="UPDATE_PROGRESS_ID" runat="server" DisplayAfter="1" AssociatedUpdatePanelID="UPDATE_PANEL_ID"> <ProgressTemplate> <center>Processing...<img id="imgLoadingGoals" alt="In Progress..." src="../Images/Loading.gif" runat="server"/></center> </ProgressTemplate> </asp:UpdateProgress>
you can place this updateprogress control either inside or outside of updatepanel control.
|
| Author: Kiran Kumar 28 Aug 2008 | Member Level: Gold | Rating:  Points: 6 |
I think the below link is the sample that you are looking for.
http://www.asp.net/AJAX/AjaxControlToolkit/Samples/CascadingDropDown/CascadingDropDown.aspx
And you can download the sample website from AjaxControlToolkit-Framework3.5SP1.zip file where you can find "Sample Website" just open the website with 2008 and you can see the entire code.
http://www.codeplex.com/AjaxControlToolkit/Release/ProjectReleases.aspx?ReleaseId=16488
If you are working with 2005 go for AjaxControlToolkit.zip file in the following URL:
http://www.codeplex.com/AjaxControlToolkit/Release/ProjectReleases.aspx?ReleaseId=11121
Hope this will solve your problem
Thanks, Kiran Kumar T.
|