Solved

Getting an AJAX calendarextender working

Posted on 2013-11-13
4
737 Views
Last Modified: 2013-11-20
I'm trying to add a date picker on my form.
I've got it all setup, and yet I get an error

Error      1      Type 'AjaxControlToolkit.CalendarExtender' is not defined.

So, I tried creating a blank project, adding the tool kit and only dropping the calendarextender on it.  I don't get the same error, but when I try to try running it from the debugger, I get the following:

Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "AjaxControlToolkit.Properties.Resources.NET4.resources" was correctly embedded or linked into assembly "AjaxControlToolkit" at compile time, or that all the satellite assemblies required are loadable and fully signed.


How can I fix this?
0
Comment
Question by:sirbounty
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 16

Accepted Solution

by:
Kamal Khaleefa earned 500 total points
ID: 39647060
Try adding the AjaxControlToolkit as a reference to your project.

Refer to the following link.

http://weblogs.asp.net/yousefjadallah/archive/2010/04/16/installing-ajax-control-toolkit-4-in-visual-studio-2010.aspx
0
 
LVL 67

Author Comment

by:sirbounty
ID: 39647622
Took care of the error, but when I run it I still get

Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "AjaxControlToolkit.Properties.Resources.NET4.resources" was correctly embedded or linked into assembly "AjaxControlToolkit" at compile time, or that all the satellite assemblies required are loadable and fully signed.
0
 
LVL 67

Assisted Solution

by:sirbounty
sirbounty earned 0 total points
ID: 39647693
Per http://www.vijaykodali.com/Blog/post/2011/11/06/Make-sure-AjaxControlToolkitPropertiesResourcesNET4resources-was-correctly-embedded.aspx,
I added <
asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>

And that got me a bit further, but then it stopped on
Microsoft JScript runtime error: 'Sys.Extended.UI' is null or not an object
The highlighted code behind that popup shows:
   $create(Sys.Extended.UI.CalendarBehavior, {"id":"MainContent_txtDeleteDate_CalendarExtender"}, null, null, $get("MainContent_txtDeleteDate"));
0
 
LVL 67

Author Closing Comment

by:sirbounty
ID: 39662012
That sorted my initial problem, so I'll close this.
Asking further help at http://www.experts-exchange.com/Q_28295169.html
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question