Solved

Getting an AJAX calendarextender working

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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 …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

752 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