C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » ASP.NET »

Help Regarding AJAX Controls


Posted Date: 28 Aug 2008      Posted By: anjali      Member Level: Silver     Points: 1   Responses: 2



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





Responses

Author: Karthikeyan S    28 Aug 2008Member Level: GoldRating: 2 out of 52 out of 5     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 2008Member Level: GoldRating: 2 out of 52 out of 5     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.



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : regarding watermark
Previous : Conversion
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use