Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What to use for Calendar Lookup?
Message
 
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01590659
Message ID:
01590774
Views:
36
>>>>>>>>Hi,
>>>>>>>>What would you recommend to use for as a calendar lookup in ASP.NET application? Is there anything built in ASP.NET natively? or does jQuery-UI.js has something like this? I would prefer not to use anything commercial but rather what is already available in the project.
>>>>>>>
>>>>>>>ASP.NET has a calendar control - just drag and drop from the toolbox.
>>>>>>>JQuery UI has the DatePicker.
>>>>>>>
>>>>>>>Try both. I happen to prefer the JQuery DatePicker.
>>>>>>>
>>>>>>>Demo of how the JQuery one owrks here : http://jqueryui.com/datepicker/#inline
>>>>>>
>>>>>>I already tried the jQuery Datepicker but need to learn how to style it. The demo looks very good but they (whoever created the demo) styled it really nice without offerring the .css of it. But I found one site where they "teach" how to style jQuey Datepicker.
>>>>>
>>>>>Was it this one? :http://www.hongkiat.com/blog/jquery-ui-datepicker
>>>>>If so there's a download of the css on that page.
>>>>
>>>>I have been playing with the jQuery Datepicker - incorporating the normalize.css and datepicker.css from the .hongkiat. site. One thing, however, I can't find how to see. The in-active dates on my calendar do not show. That is, if I am looking at December 2013 I see no numbers in the January 2014 week for this month. Even in the non-demo version - plain datepicker - the in-active dates do not show at all. And in all demoes the in-active dates are shown in gray/disabled font.
>>>>Can you see what am I missing?
>>>
>>>Set the 'showOtherMonths' property to true:
>>
>>>    $( "#datepicker" ).datepicker({
>>>      showOtherMonths: true
>>>     });
>>
>>
>>Thank you very much! I will have to figure how to add this setting in the datepicker.css instead of having to add this script to every page where it is used.
>
>I think you have to do it in script when you wire it up.

I see that this variable, showOtherMonths, is defined in jQuery javascript but I prefer not to customize it there.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform