We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

MVC Schedule issues

Thread ID:

Created:

Updated:

Platform:

Replies:

98172 Feb 10,2011 03:46 PM Feb 14,2011 08:49 AM ASP.NET Web Forms (Classic) 1
loading
Tags: Schedule
Carlos Ballester
Asked On February 10, 2011 03:46 PM

-Does DayStartHour property exist in MVC? If yes how do I set it? If not, Is there
a work around to achive the same?

-Need to reduce the CellWidth only when clicking the Day view mode on the control in
order to display several resources without scrolling horizontaly


Divyaprasuna K [Syncfusion]
Replied On February 14, 2011 08:49 AM

Hi Carlos,

Thanks for your interest in Syncfusion products.


The cellwidth can be reduced in the day view mode by adjusting the cellWidth property value by dividing the total width into equal parts based on the number of resources we need to add. With this change you can display several resources without scrolling horizontally. In the below sample we have added three resources and the schedule total width is ‘711’, dividing this by ‘3’ we get ‘~237’ as the resultant width of each resource, in order to avoid the scrolling issue we reduced '22px' from the resultant value, hence the cellWidth value is '215px' for each resource.

Following code snippet illustrates how to acheive this :

<%=Html.Syncfusion().Schedule("MySchedule", "ScheduleModel")
. . .

.Width(711)
.cellWidth(215)

. . .
. . .

%>

Here is the sample :

Schedule476463463.zip

With regards to your second query, we dont have DayStartHour, however, we have ‘BusinessStartHour’ and ‘BusinessEndHour’ properties for the working hours in the schedule, and it is differentiated with color in display.You may refer to our online samples for this requirement. Would you please let us know, whether you are expecting this property or the timeline view (i.e. nothing else will be displayed except the working hours)?



Regards,
Divyaprasuna. K





CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;