Hi,
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:
AjaxManager
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
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:
AjaxManager
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="CalendarList_RadiobuttonList"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="chkCalendar" /> <telerik:AjaxUpdatedControl ControlID="chkList" /> <telerik:AjaxUpdatedControl ControlID="divCalendar" /> <telerik:AjaxUpdatedControl ControlID="divList" /> <telerik:AjaxUpdatedControl ControlID="CalendarList_RadiobuttonList" /> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="RadComboBox1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="divCalendar" /> <telerik:AjaxUpdatedControl ControlID="divList" /> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="divCalendar"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="divCalendar" /> <telerik:AjaxUpdatedControl ControlID="RadCalendar1"/> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="divList"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="divList" /> <telerik:AjaxUpdatedControl ControlID="RadGrid1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings></telerik:RadAjaxManagerProxy>
<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" OnDayRender="RadCalendar1_DayRender" OnSelectionChanged="RadCalendar1_SelectionChanged" RangeMaxDate="2099-12-31" RangeMinDate="2000-01-01" SelectedDate="" ViewSelectorText="x" OnDefaultViewChanged="RadCalendar1_DefaultViewChanged"> <CalendarDayTemplates></CalendarDayTemplates> </telerik:RadCalendar></div>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