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

RadDatePicker calendar control appearing through ASP.Net menu

4 Answers 113 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Allan
Top achievements
Rank 1
Allan asked on 09 Nov 2012, 05:43 AM
Hello everybody,

I am experiencing an issue with the RadDatePicker's calendar lookup button displaying through an ASP.Net menu.

The RadDatePicker is defined like this:

<td>
  <telerik:RadDatePicker runat="server" ID="PeriodStartCalendar" />
</td>

A screenshot of the page can be seen here:
http://i49.tinypic.com/2n1rf3l.png

I am using the Telerik ASP.Net AJAX Q2 2012 controls, ASP.Net 4.0 Framework (Visual Studio 2008) and Internet Explorer 8.0

Are there any properties that can control the transparency of the calendar lookup button or should I be looking at the ASP.Net Menu control instead?

Thanks for your time.

4 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 09 Nov 2012, 11:00 AM
Hi Allan,

Try overriding the default css as follows to achieve your scenario.

CSS:
<style type="text/css">
.rcCalPopup
 {
  z-index : -1 !important;
 }
</style>

Thanks,
Princy.
0
Allan
Top achievements
Rank 1
answered on 12 Nov 2012, 02:12 AM
Princy, thanks for your response. I hadn't considered making changes to the style sheet.

Unfortunately the code supplied did not fix the issue. All it did was make the calendar button invisible all the time.
0
Accepted
Martin
Telerik team
answered on 13 Nov 2012, 05:14 PM
Hello Allan,

I have tried the following css rule and it worked as expected on my side:

<style type="text/css">
    .RadPicker a.rcCalPopup
    {
        z-index: 0;
    }
</style>

I hope this helps.

Regards,
Martin
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.
0
Allan
Top achievements
Rank 1
answered on 14 Nov 2012, 01:32 AM
Thank you Martin! Your CSS code resolved my issue. Thanks once again. :)
Tags
Calendar
Asked by
Allan
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Allan
Top achievements
Rank 1
Martin
Telerik team
Share this question
or