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...






Resources » Articles » ASP.NET/Web Applications »

Globalizing Ajax Calendar control


Posted Date: 25 Jun 2009    Resource Type: Articles    Category: ASP.NET/Web Applications
Author: anilMember Level: Gold    
Rating: 1 out of 5Points: 2



Abstract:


While globalizing my project, i was searching for a calendar control whose language can be modified according to the browser language. So i changed my simple javascript calendar control with an ajax calendar control which comes with the ajax tool kit. It comes with the resource files DLL for most of the languages around the world.

To enable globalization you have to set the "EnableScriptGlobalization" and "EnableScriptLocalization" of ToolkitScriptManager to "True".


ajaxToolkit:ToolkitScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="true" EnableScriptLocalization="true"


And also set the page culture and UICulture to auto.


Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" Culture="auto" UICulture="auto"


Thats it. Now the calendar control will pick the appropriate resource dll depending upon the browser language.

Thanks,
Anil.

Attachments

  • Ajax calendar (29611-25845-AjaxControlToolkitWebSite.rar)


  • Responses


    No responses found. Be the first to respond and make money from revenue sharing program.

    Feedbacks      
    Popular Tags   What are tags ?   Search Tags  
    Sign In to add tags.
    Globalizing ajax calendar control  .  Globalizing ajax calendar  .  

    Post Feedback


    This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
    You must Sign In to post a response.
    Next Resource: Encrypt Query String using c# and HttpModule
    Previous Resource: Google map with street view
    Return to Discussion Resource Index
    Post New Resource
    Category: ASP.NET/Web Applications


    Post resources and earn money!
     
    More Resources



    dotNet Slackers

    About Us    Contact Us    Privacy Policy    Terms Of Use