Solved

jQuery DatePicker

Posted on 2013-05-13
2
432 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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Suggested Solutions

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
The viewer will learn how to dynamically set the form action using jQuery.
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…

789 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