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

Set Default Height on RadScheduler

5 Answers 273 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
r
Top achievements
Rank 1
r asked on 14 Jun 2010, 04:06 PM
I want to extend the length of this control to the entire length of the table that it's contained in.
How is the best done, javascript when it builds the calender event(s) or just using CSS.
I couldn't find any examples my code is below..

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <link href="styles/jjma_local.css" type="text/css" rel="stylesheet" />
    <title>Task Calendar View</title>
    <script type="text/javascript" >
        function showEvent(sender, eventArgs)
        {
            var id=eventArgs.get_appointment().get_id();
            var ids=id.split("%");
            if(ids.length===2)
                window.open("MainForm.aspx?type=taskDetails&LookID="+ids[0] + "&hullID=" + ids[1], "_blank");
            else
                alert("An unknown error has occurred.  The calendar will be unable to forward you to the task you have selected.");
        }
    </script>
</head>
<body class="FramedFormBodyStyle" style="margin: inherit 5px 3px inherit;">
    <form id="TaskCalendarView" runat="server">
    <asp:ScriptManager ID="scptMgr" runat="server">
    </asp:ScriptManager>
        <div>
            <telerik:RadScheduler ID="rschdTasks" runat="server" AllowDelete="False"  
                SelectedView="MonthView" ShowViewTabs="false"  OnAppointmentDataBound="rschdTasks_OnAppointmentDataBound"
                AllowEdit="False" AllowInsert="False" MonthVisibleAppointmentsPerDay="10"  ShowFooter="false"
                NumberOfHoveredRows="20" ReadOnly="True" Skin="Telerik" Height="400px" onclientappointmentclick="showEvent" 
                EnableAdvancedForm="False"  >
                <MonthView AdaptiveRowHeight="True" ReadOnly="True" VisibleAppointmentsPerDay="20" MinimumRowHeight="2" />
                <Localization AdvancedAllDayEvent="All day"></Localization>
                <AdvancedForm DateFormat="M/d/yyyy" TimeFormat="h:mm tt" Enabled="False"></AdvancedForm>
            </telerik:RadScheduler>
        </div>
    </form>
</body>
</html>


5 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 17 Jun 2010, 09:37 AM
Hello r,

Please, try setting OverflowBehavior="Expand" and Height="100%" for RadScheduler. I hope this helps.


Greetings,
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
0
dbozhyk
Top achievements
Rank 1
answered on 29 Dec 2010, 02:02 AM
Hello All
I have the same problem, setting OverflowBehavior="Expand" and Height="100%" doesn't resolve it.
I'm using 2009.3 version.
0
Peter
Telerik team
answered on 30 Dec 2010, 10:21 AM
Hello,

Have you tried with the current official version - 2010.3.1215?

All the best,
Peter
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
J2K
Top achievements
Rank 1
answered on 10 Aug 2014, 12:46 PM
Setting overflow and height achieves ABSOLUTELY nothing.
0
Boyan Dimitrov
Telerik team
answered on 13 Aug 2014, 12:00 PM
Hello,

I would like to clarify that setting the RadScheduler OverflowBehavior="Expand" should achieve the desired functionality. This property does expand the calendar area in order to be visible without any vertical scroll bar. Could you please clarify what goal you want to achieve and please explain why setting the OVerflowBehavior does not meet your requirements?

Regards,
Boyan Dimitrov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Scheduler
Asked by
r
Top achievements
Rank 1
Answers by
Peter
Telerik team
dbozhyk
Top achievements
Rank 1
J2K
Top achievements
Rank 1
Boyan Dimitrov
Telerik team
Share this question
or