This is a migrated thread and some comments may be shown as answers.

[Solved] Calendar tooltip not showing

1 Answer 104 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Luis Velez
Top achievements
Rank 1
Luis Velez asked on 07 May 2010, 04:48 PM
Original problem:
When we added a datepicker to our view, the textbox and icon appeared on our form, but the calendar tooltip would not show at all.

Our solution:

We modified line 364 in telerik.datepicker.js to apply a z-index of 9999 to the calendar as such:

animationContainer.css($.extend({ 
                    position: 'absolute'
                    zIndex: 9999 
                }, elementPosition)); 

...as a result, the datepicker calendar tooltip shows up while running in Visual Studio 2008.

Current problem:
When we deployed the application to IIS 7.5 the calendar tooltip would not show again.

We discovered the following behavior of ScriptRegistrar in the view:

<%= Html.Telerik().ScriptRegistrar().jQuery(false) %> 

    ->   Running in VS2008 loads <filename>.js
    ->   Running in IIS loads <filename>.min.js

…which is why our initial solution wasn’t working.

Questions:
A.   Bug in the datepicker calendar tooltip not showing up should be fixed by Telerik
B.   Why is there a difference between the VS2008 and IIS for ScriptRegistrar?
C.   How do we control ScriptRegistrar for what file to load: regular or min version?

1 Answer, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 10 May 2010, 08:36 AM
Hello Luis Velez,

The ScriptRegistrar loads the JavaScript mode based on the debug setting. If debugging is enabled (<compilation debug="true" /> in web.config) the ScriptRegistar will look for .debug.js, then .js and finally .min.js. In release mode the .min.js file is loaded first.

Regards,
Atanas Korchev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Date/Time Pickers
Asked by
Luis Velez
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or