RadCalendar display issue

1 posts, 0 answers
  1. Martin
    Martin avatar
    1 posts
    Member since:
    Jul 2011

    Posted 31 May 2012 Link to this post


    I have the following problem:

    I developed a holiday module for a selfdeveloped Intranet, where you can display holidays of different countries either in a RadCalendar or in a RadGrid.
    You can change between the displaymodes with a RadioButtonList with the Items Calendar and List.
    The Calendar is surrounded by a div-tag called divCalendar, the List by a div-tag called divList.
    I use Skin-Files called Calendar.skin with the SkinID = "DefaultRadCalendar" and GridView.skin with the SkinID = "DefaultRad" with for the controls and I bind them with the controls via the SkinID-property. Everything gets displayed correctly. To change between the displaymodes without a PostBack, I use the RadAjaxManagerProxy. When I change from Calendar to List, everything is allright - the RadGrid gets displayed correctly. When I change back to Calendarmode, the RadCalendar gets displayed incorrectly. It is a mix of an integrated Skin (f.e. Sunset - I use some integrated Skins for other Controls) and my own Skin. When I do a PostBack, everything gets displayed correctly, it's only in the combination with Ajax. It doesn't matter, if I disable embedded Skins, Basestylesheets or AjaxSkinRendering in my RadCalendar or not, appearance is the same. Here is some Code:

    <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
          <telerik:AjaxSetting AjaxControlID="CalendarList_RadiobuttonList">
                <telerik:AjaxUpdatedControl ControlID="chkCalendar" />
                <telerik:AjaxUpdatedControl ControlID="chkList" />
                <telerik:AjaxUpdatedControl ControlID="divCalendar" />
                <telerik:AjaxUpdatedControl ControlID="divList" />
                <telerik:AjaxUpdatedControl ControlID="CalendarList_RadiobuttonList" />
          <telerik:AjaxSetting AjaxControlID="RadComboBox1">
                <telerik:AjaxUpdatedControl ControlID="divCalendar" />
                <telerik:AjaxUpdatedControl ControlID="divList" />
          <telerik:AjaxSetting AjaxControlID="divCalendar">
                <telerik:AjaxUpdatedControl ControlID="divCalendar" />
                <telerik:AjaxUpdatedControl ControlID="RadCalendar1"/>
          <telerik:AjaxSetting AjaxControlID="divList">
                <telerik:AjaxUpdatedControl ControlID="divList" />
                <telerik:AjaxUpdatedControl ControlID="RadGrid1" />

    <div ID="divCalendar" runat="server" class="calendar">
                  <telerik:RadCalendar ID="RadCalendar1" SkinID="DefaultRadCalendar"
                    AutoPostBack="true" runat="server" CultureInfo="de-AT"
                     Width="100%" EnableMultiSelect="False" FocusedDate="2000-01-01"
                     RangeMaxDate="2099-12-31" RangeMinDate="2000-01-01"
                     SelectedDate="" ViewSelectorText="x"

    It's not possible to send you the module, because it's part of the Intranet and needs other components to run.

    Thanks in advance

    Martin Holoubek
Back to Top