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

Rendering problem within RadSplitter

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

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%">
                                    <tr>
                                        <td>
                                         <asp:updatepanel runat="server" ID="MasterUpdatePanel">
<table>
<tr>
        <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"
                onappointmentclick="SchedulerAttivita_AppointmentClick"
                onformcreating="SchedulerAttivita_FormCreating"
                OnClientAppointmentMoving="OnClientAppointmentMoving"
                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>
            </telerik:RadScheduler>
        </td>
    </tr>
</table>
</asp:updatepanel>                                                              
                                        </td>
                                    </tr>
                                </table>
</telerik:RadPane>
                    </telerik:RadSplitter>

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

Leonardo

1 Answer, 1 is accepted

Sort by
0
Peter
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 %>');
           scheduler.repaint();          
       }


All the best,
Peter
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
Tags
Scheduler
Asked by
Leo
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or