Solved

jQuery DatePicker

Posted on 2013-05-13
2
429 Views
Last Modified: 2013-05-13
Hi All,

I started a new project and they are using a plugin from http://jqueryui.com/

I used the datepicker they have but can't figure out how to add color to the calendar to look more professional/presentable.

If  anyone has used this before, please help.  I created a form and am using it in SharePoint 2010.  Will eventually add it to a web part page.

datePicker image
0
Comment
Question by:Isaac
2 Comments
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 300 total points
ID: 39161442
Hi,
I have used the jQuery UI datepicker sometimes in custom ASP.NET pages in SharePoint. To look properly you have to include the jQuery UI CSS file. From your screenshot it looks like that there is no stylesheet referenced
On the jQuery UI page you have the choice to either download one of the predefined styles OR even create your own style.

HTH
Rainer
0
 
LVL 5

Assisted Solution

by:manojce
manojce earned 200 total points
ID: 39161519
Hi,

Datetime picker is working fine on FireFox browser but due to CSS reading issue can't open images & class in IE.

There is some script block in IE because sometime @import is not working.
So please add below lines.

<link rel="stylesheet" href="../../themes/base/jquery.ui.core.css"/>

<link rel="stylesheet" href="../../themes/base/jquery.ui.accordion.css"/>
<link rel="stylesheet" href="../../themes/base/jquery.ui.autocomplete.css"/>
<link rel="stylesheet" href="../../themes/base/jquery.ui.button.css"/>
<link rel="stylesheet" href="../../themes/base/jquery.ui.datepicker.css"/>
<link rel="stylesheet" href="../../themes/base/jquery.ui.dialog.css"/>
<link rel="stylesheet" href="../../themes/base/jquery.ui.menu.css"/>
<link rel="stylesheet" href="../../themes/base/jquery.ui.progressbar.css"/>
<link rel="stylesheet" href="../../themes/base/jquery.ui.resizable.css"/>
<link rel="stylesheet" href="../../themes/base/jquery.ui.selectable.css"/>
<link rel="stylesheet" href="../../themes/base/jquery.ui.slider.css"/>
<link rel="stylesheet" href="../../themes/base/jquery.ui.spinner.css"/>
<link rel="stylesheet" href="../../themes/base/jquery.ui.tabs.css"/>
<link rel="stylesheet" href="../../themes/base/jquery.ui.tooltip.css"/>

<link rel="stylesheet" href="../../themes/base/jquery.ui.theme.css"/>

Thanks,
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Introduction Chart.js, used properly, can visually add a difference to your charting applications. It engages your visitors and allows them to interact with data they otherwise wouldn't be able to without expensive and complicated systems. For this…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

815 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

13 Experts available now in Live!

Get 1:1 Help Now