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

Scheduler is only showing 10% of width

1 Answer 84 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 05 Apr 2010, 07:30 AM
I am using Rad Scheduler on my page. When i load the page, Scheduler is only showing 10% of width for few seconds. Then auto expend to 100%.
It is working fine on my local even on server. But some of the client machine is not working. It is only showing 10% of width.  I have put 100% width in Design view but still showing 10%..

Please let me know.

Thanks you for you help.


<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FXRateSummary.aspx.cs" Inherits="DCCPP.Currency.Views.FXRateSummary" 
    Title="Global Refund DCCPP - Currency - FX Rate Summary" MasterPageFile="~/Shared/DCCPPMaster.master" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<asp:Content ID="content" ContentPlaceHolderID="DCCPPMasterContent" runat="Server"
     
 
    <script  type="text/javascript"
         
        function OnClientTimeSlotClick(sender, eventArgs) { 
            //alert(eventArgs.get_time());eventArgs.get_time().toLocaleString()); 
            var dt = new Date(); 
            var dt2 = new Date(); 
            dt2 = eventArgs.get_time(); 
             
 
            if (dt2 > dt) { 
                alert("You can't not enter FXRate for future date."); 
                return false; 
            }  
            window.radopen("../Currency/FxRateEntry.aspx?Date=" + eventArgs.get_time().toLocaleString(), "dwFxRateEntry"); 
 
            return false; 
        } 
 
        function refreshGrid(arg) { 
            if (!arg) { 
                $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("Rebind"); 
            } 
            else { 
                $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("RebindAndNavigate"); 
            } 
        } 
        
             
                </script> 
    <telerik:RadSplitter ID="RadSplitter2" runat="server" Width="100%" VisibleDuringInit="true" Skin="Office2007"
        <telerik:RadSplitBar ID="RadSplitBar1" runat="server" /> 
        <telerik:RadPane ID="RadPane1" runat="server" Scrolling="None" BorderColor="#6C91C0"
            <telerik:RadSplitter ID="RadSplitter1" runat="server" Orientation="Horizontal" Width="100%" 
                BorderColor="#6C91C0"
                 
                <telerik:RadSplitBar ID="Radsplitbar3" runat="server"></telerik:RadSplitBar> 
                <telerik:RadPane ID="Radpane3" runat="server"
                    <div style="padding: 5px"
                         
                        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest"
                            <AjaxSettings> 
                                <telerik:AjaxSetting AjaxControlID="RadAjaxManager1"
                                    <UpdatedControls> 
                                        <telerik:AjaxUpdatedControl ControlID="Panel1" 
                                           LoadingPanelID="RadAjaxLoadingPanel1" /> 
                                    </UpdatedControls> 
                                </telerik:AjaxSetting>       
                                <telerik:AjaxSetting AjaxControlID="rdScheduler"
                                    <UpdatedControls> 
                                       <telerik:AjaxUpdatedControl ControlID="Panel1" 
                                           LoadingPanelID="RadAjaxLoadingPanel1" /> 
                                   </UpdatedControls> 
                                </telerik:AjaxSetting>    
                            </AjaxSettings> 
                        </telerik:RadAjaxManager> 
                         <asp:Panel ID="Panel1" runat="server"
                        <telerik:RadScheduler runat="server" ID="rdScheduler" Width="100%" Height="95%" ShowViewTabs="false" 
                         DataKeyField="ID" DataSubjectField="Subject" 
                         DataStartField="Start" DataEndField="End" DataRecurrenceField="RecurrenceRule" DataRecurrenceParentKeyField="RecurrenceParentID"  
                         SelectedView="MonthView" OnClientTimeSlotClick="OnClientTimeSlotClick"  
                         AllowDelete="False" AllowEdit="False" AllowInsert="False"  
                             EnableAdvancedForm="False" EnableResourceEditing="False"  
                         StartEditingInAdvancedForm="False"   
                         onappointmentdatabound="rdScheduler_AppointmentDataBound" Skin="Office2007"  
                                 OverflowBehavior="Scroll" onformcreating="rdScheduler_FormCreating"  
                                 ontimeslotcreated="rdScheduler_TimeSlotCreated" > 
                            <ResourceTypes> 
                                <telerik:ResourceType KeyField="ProcessLogID" ForeignKeyField="ProcessLogID" Name="ProcessType" TextField="ProcessType" /> 
                            </ResourceTypes> 
                        </telerik:RadScheduler> 
                        </asp:Panel> 
                         
                    </div> 
                </telerik:RadPane> 
            </telerik:RadSplitter> 
        </telerik:RadPane> 
    </telerik:RadSplitter> 
                     
    <telerik:RadWindowManager id="SingletonContent" runat="server" Skin="Office2007" DestroyOnClose="false" VisibleStatusbar="false"
        <windows> 
            <telerik:RadWindow id="dwFxRateEntry"  
                Skin="Office2007"  
                ReloadOnShow = "true"  
                Left="5px" 
                Modal = "true" 
                Runat="server"  
                Width="700px"                        
                Height="500px"  
                Title="FX Rate Listing"
            </telerik:RadWindow> 
        </windows>   
    </telerik:RadWindowManager> 
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px" Width="75px"
    <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>' style="border:0;" /> 
    </telerik:RadAjaxLoadingPanel> 
</asp:Content> 
 

1 Answer, 1 is accepted

Sort by
0
Chip
Top achievements
Rank 1
answered on 07 Apr 2010, 01:53 PM
Have you tried setting a fixed width to the Scheduler? I mean checking what's the 100% size in pixels and setting it directly - for example
Width="820px". I believe the two Splitters and the Scheduler need to do some calculations to resize to 100% and this takes some time - the first Splitter resizes to 100%, then the second Splitter resizes to 100% etc...
Tags
Scheduler
Asked by
Alex
Top achievements
Rank 1
Answers by
Chip
Top achievements
Rank 1
Share this question
or