Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Getting an AJAX calendarextender working

Posted on 2013-11-13
4
Medium Priority
?
764 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 2000 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

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

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

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

824 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