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

Rendering problem within RadSplitter

1 Answer 49 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Leo asked on 23 Jul 2010, 03:22 PM

I'm having an annoying issue with RadScheduler's rendering within a RadSplitter.

that's the code:
<telerik:RadSplitBar id="RadSplitbar1" EnableResize="false" runat="server" CollapseMode="Forward"></telerik:RadSplitBar>
                        <telerik:RadPane id="MiddlePane" runat="server">
                             <!-- Content -->
                              <!--<td valign="Top">-->
                                <table width="100%">
                                         <asp:updatepanel runat="server" ID="MasterUpdatePanel">
        <td width="100%" colspan="2">
            <telerik:RadScheduler ID="SchedulerAttivita" runat="server"
                EnableCustomAttributeEditing="True" Width="100%" AllowDelete="False" AllowInsert="False"
                WeekView-HeaderDateFormat="dd/MM/yyyy" MonthView-UserSelectable="false"
                TimelineView-UserSelectable="false" DayView-UserSelectable="true"
                DayStartTime="<%# StartTime %>" DayEndTime="<%# EndTime %>" OverflowBehavior="Expand"
                WorkDayStartTime="<%# StartTime %>" WorkDayEndTime="<%# EndTime %>"
                ShowFooter="False" ShowAllDayRow="False" AppointmentStyleMode="Default"
                MinutesPerRow="<%# MinutesPerRow %>" FirstDayOfWeek="Monday" AdvancedForm-Enabled="false"
                LastDayOfWeek="Friday" DataKeyField="ID" DataStartField="DATA_INIZIO" DataEndField = "DATA_FINE"
                DataSubjectField="SUBJECT" SelectedView="WeekView"
                onnavigationcommand="SchedulerAttivita_NavigationCommand" Culture="it-IT"
                EnableAdvancedForm="False" HoursPanelTimeFormat="t">
                    <AdvancedForm Enabled="False" EnableCustomAttributeEditing="True"></AdvancedForm>
                    <Localization HeaderDay="<%$ Resources:SchedulerHeaderDay %>"
                    HeaderToday="<%$ Resources:HeaderToday %>" HeaderWeek="<%$ Resources:HeaderWeek %>" />
                    <TimelineView UserSelectable="False"></TimelineView>
                    <WeekView HeaderDateFormat="dd/MM/yyyy"></WeekView>
                    <MonthView UserSelectable="False"></MonthView>

At the Page Load I see that the Radscheduler isn't completely rendered, as you can see in the attached screenshot.
If I make a post on the page, or simply closing and reopening the radsplitter bar, the scheduler behave as expected, filling the 100% width.

Some ideas about that?
Thanks in advance, bye


1 Answer, 1 is accepted

Sort by
Telerik team
answered on 28 Jul 2010, 01:16 PM
Hello Leo,

You can try calling the repaint() method to refresh RadScheduler:

function pageLoad() 
           var scheduler = $find('<%=SchedulerAttivita.ClientID %>');

All the best,
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question