Thanks
Tran Dat
5 Answers, 1 is accepted
Thank you for writing.
You can create a custom theme that changes this text orientation and flip the text properties of the SchedulerHeaderCellElement for the vertical state. Also, you can do it by code, but you should set these properties when you refresh the visual element in the view.
SchedulerMonthViewElement monthViewElement =
this
.radScheduler1.SchedulerElement.ViewElement
as
SchedulerMonthViewElement;
for
(
int
i = 0; i < monthViewElement.VerticalHeader.Children.Count; i++)
{
SchedulerHeaderCellElement cell = monthViewElement.VerticalHeader.Children[i]
as
SchedulerHeaderCellElement;
if
(cell !=
null
)
{
cell.TextOrientation = Orientation.Horizontal;
cell.FlipText =
false
;
}
}
I hope that this will help you. In case that you have other related questions, feel free to write back.
Regards,
Dobry Zranchev
the Telerik team
Regards,
Tran Dat
Thank you for writing back.
You can change the width of the vertical header in the SchedulerMonthViewElement.
(
this
.radScheduler1.SchedulerElement.ViewElement
as
SchedulerMonthViewElement).VerticalHeader.HeaderWidth = 50;
In case that you have further questions, feel free to write back.
Regards,
Dobry Zranchev
the Telerik team
Please help me and thanks in advance....
I'm new to telerik RadScheduler1 and it's SelectedView="WeekView".
if i click on Scheduler "Month" and tried to create a new Appointment then it is saying following exception........
[InvalidOperationException: Invalid slot index: 5]
Telerik.Web.UI.Scheduler.Views.Week.Model.GetSlotByIndex(String index) +212
Telerik.Web.UI.Scheduler.Views.SchedulerModel.ProcessPostBackCommand(SchedulerPostBackEvent postBack) +277 Telerik.Web.UI.RadScheduler.ProcessPostBackCommand(SchedulerPostBackEvent postBack) +4704
Telerik.Web.UI.RadScheduler.RaisePostBackEvent(String eventArgument) +108 Telerik.Web.UI.RadScheduler.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +39
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +37
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +286
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4178
Thanks & Best Regards,
Chakrapani M
Thank you for writing.
Please note that this forum concerns RadControls for WInForms, rather then RadControls for ASP.NET AJAX. Please address your question in the appropriate forum: http://www.telerik.com/community/forums/aspnet-ajax/scheduler.aspx.
Kind regards,
Stefan
the Telerik team