Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

How should I use Ajax Control Toolkit in Sharepoint 2010. When I add Extender Calendar don't Shown. I tried add AjaxToolkitScript manager, but it's vrite me that it shouldn't be there 2 Scripts Manager on the site.

The Error shown:

Only one instance of a ScriptManager can be added to the page.

share|improve this question
add comment

2 Answers

I look at and find resolution to use jQuery plugin :) Here is my solution: http://jqueryui.com/datepicker/#default

share|improve this answer
add comment

SharePoint 2010 has a ScriptManager added to every Master Page by default. You need to open up the Master Page you’re using and remove the existing tag and replace it with the following Script Manager:

<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" />

Add a Script Manager in the your custom master page, then it will be available to any page referencing the master page, rather than adding references to individual pages.

share|improve this answer
    
And how should I open a master page in Visual Studio ? Where could I found this master page ? –  Grzegorz Z Dec 30 '12 at 19:09
1  
To do this, open up the master page for your site. Typically, this will be located at <site url>/_catalogs/masterpage. You can edit this file by opening it in an editor such as Microsoft SharePoint Designer, or directly in Notepad by opening your master page library via DAV (typically \\server\<pathtosite>\_catalogs\masterpage) –  Falak Mahmood Dec 30 '12 at 19:43
    
After I replecing all master pages in notepad nothing changes and CalendarExtander doesn't shown. Please Falak help. –  Grzegorz Z Dec 30 '12 at 21:30
    
Next controls from AjaxControl Toolkit shown. Only the CalendarExtander dont shown. I don't know why. –  Grzegorz Z Dec 30 '12 at 21:36
    
Have you added the reference to the assembly? <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> as well? –  Falak Mahmood Dec 30 '12 at 22:35
show 4 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.