Solved

Getting an AJAX calendarextender working

Posted on 2013-11-13
4
687 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
  • 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

757 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now