Some AjaxControlToolkit tips

I collected a couple of tips searching the web for answers…

Globalization in CalendarExtender

If you want to display the Calendar control with localized texts, set the ScriptManager’s EnableScriptGlobalization to true:

<ajax:toolkitscriptmanager id="ToolkitScriptManager1" runat="server"

See here for more detailed discussion.

Avoiding unused Language DLLs

This question seems to come up frequently. My solution is:

  1. Go to the AjaxControlToolkit, SampleWebsite, Bin directory of your Ajax installation
  2. Copy the AjaxControlToolkit DLL and PDB and all required directories to a separate directory
  3. Reference the AjaxControlToolkit.dll in your project from this newly created directory.

Force Full Page Postback from UpdatePanel

Use the following line in the Page_Load method:


btnSearch is the control to cause a full page postback.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: