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

[Solved] RadCalendar Loses Skin

2 Answers 143 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Nicolas
Top achievements
Rank 1
Nicolas asked on 16 Jun 2008, 08:59 PM
[img]http://img373.imageshack.us/img373/3008/screenshot2xf3.jpg[/img]

Hello Telerik,

My RadCalendar loses it's skin when put into a RadDock.

I'm keeping the DateTimePickers with the Default skin.

Here is my code...

<

telerik:RadDock DefaultCommands="ExpandCollapse" ID="dock_DateRangeSearch" runat="server" Skin="WebBlue" Title="Search by Date Range">
    <ContentTemplate>
        <table style="width: 611px">
            <tr>
                <td style="width: 147px" valign="middle">
                   <asp:Label ID="Label3" runat="server" Text="Find Tickets Between:" Font-                        Size="Small"></asp:Label>
                </
td>
                <td style="width: 206px" valign="middle">
                    <telerik:RadDateTimePicker ID="dtp_From" runat="server" SelectedDate="2008-02-28" Font-Size="Small">     </telerik:RadDateTimePicker>
                </td>
                <td style="width: 39px">
                    <asp:Label ID="Label4" runat="server" Text="and" Font-                        Size="Small"></asp:Label>
                </td>
                <td>
                    <telerik:RadDateTimePicker ID="dtp_To" runat="server" SelectedDate="02/28/2008 23:59:00" Font-Size="Small"> 
                    </telerik:RadDateTimePicker>
                </td>
            </tr>
             <tr>
                <td style="width: 147px">
                    <asp:ImageButton ID="btn_DateRangeSearch" runat="server" ImageUrl="~/images/go.gif" OnClick="btn_DateRangeSearch_Click" />
                </
td>
            </tr>
        </table>
    </ContentTemplate>
</telerik:RadDock>

Have you ever seen this before?  Is there a fix? 

Thanks,
Nick

2 Answers, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 20 Jun 2008, 07:01 AM
Hello Nick,

Are you showing/updating the dock after an AJAX request? If yes, then try setting the calendar control's "EnableAjaxSkinRendering" property to "true" in your code after you show the dock. If you still cannot get the calendar skin to show, please send us a sample page (aspx and code) we can use to reproduce the problem locally.

On a side note - yesterday we have released a new update for the RadControls suite (2008.01.619). You can try downloading the fix and testing your application with it.

Sincerely yours,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Nicolas
Top achievements
Rank 1
answered on 20 Jun 2008, 12:23 PM
I ended up resolving the issue before your post but thank you for the help and I will share my solution.

I added a RadStyleSheetManager and that seemed to resolve the problem.  I'm not sure why.  It was necessary for my RadWindow that I had just added to the page and then the RadDateTimePicker's calendar skin showed up.

Nick
Tags
Dock
Asked by
Nicolas
Top achievements
Rank 1
Answers by
Lini
Telerik team
Nicolas
Top achievements
Rank 1
Share this question
or