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

Rad DatePicker position wrong with rcShadTR

1 Answer 70 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Sean
Top achievements
Rank 1
Sean asked on 13 Dec 2011, 09:50 PM
Upon upgrading to 2011.2.712.40 our calendar shifts position 177px below the text box - on inspection with firebug/dev toolbar I see a div called "rcShadTR" with a height of 177px.

In other environments where these controls have not been updated I don't see this div and the calendars work fine. All of the other controls in the upgrade seem to have gone fine except for the calendars.

If I use css to set the rcShadTR to display none the control doesn't break so Im a little confused as to what this div does.

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 14 Dec 2011, 03:25 PM
Hi Sean,

This div is used to provide a shadow for the popup calendar of the RadDatePicker, you can see it in our online demos, too. It has been part of the picker for quite some time now.
Calendar / DatePicker/First look
If you do not insist on having a shadow, you could just hide the div, as you did.

However, as the described behavior is not how the control usually behaves, I assume that there are some custom styles on your page which interfere with the calendar's display. If you would like to debug this behavior, you could try removing your styles to see if this fixes the issue and then start re-adding them one by one until you see which breaks the layout.
Alternatively, you could use a tool like Firebug to track the styles applied to the RadDatePicker control and see which one exactly causes the problematic look.

Also, if you provide us with a live url and your markup and custom styles, we will inspect the problem, too.

Best wishes,
Tsvetina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Calendar
Asked by
Sean
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or