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

RadDatePicker rendering issue when

2 Answers 71 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Gerry
Top achievements
Rank 1
Gerry asked on 09 May 2012, 08:03 PM

When I have a RadDatePicker on a page that has Enabled = "false", the rendering causes an increased page size. Making it enabled again makes the problem go away.

Further more, if I make the dateinput portion of the raddatepicker invisible, the problem goes away.

Using Telerik 2012.1.215.40.

Here's the markup

<telerik:RadDatePicker ID="RadDateStart" Width="180px" EnableTyping="false" runat="server" EnableEmbeddedSkins="true" Enabled="false">
    <Calendar ID="Calendar1" UseRowHeadersAsSelectors="False" runat="server" UseColumnHeadersAsSelectors="False"
        ViewSelectorText="x" EnableEmbeddedSkins="true">
        <SpecialDays>
            <telerik:RadCalendarDay Repeatable="Today" ItemStyle-BackColor="#BCDDFF" />
        </SpecialDays>
    </Calendar>
    <DateInput ID="DateInput1" DisplayDateFormat="MMM dd, yyyy" runat="server" DateFormat="M/d/yyyy" ReadOnly="True">
    </DateInput>
    <DatePopupButton ImageUrl="" HoverImageUrl=""></DatePopupButton>
</telerik:RadDatePicker>

2 Answers, 1 is accepted

Sort by
0
Accepted
Tsvetina
Telerik team
answered on 14 May 2012, 01:00 PM
Hi Gerry,

Such problem is fixed in the latest internal build of RadControls available at this address (you need to be logged into your Telerik account):
http://www.telerik.com/account/your-products/internal-builds.aspx

If you do not want to use it (as it is not an official release), you could also try the following CSS workaround:
.riSingle
{
    overflow: hidden;
}

Place it in your page's styles and see if it helps.

Kind regards,
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.
0
Gerry
Top achievements
Rank 1
answered on 01 Jun 2012, 04:58 PM
Just confirming that version 2012.1.411.35 fixed the issue
Tags
Calendar
Asked by
Gerry
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Gerry
Top achievements
Rank 1
Share this question
or