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

ViewDefinitions not setable!

3 Answers 50 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Elgan
Top achievements
Rank 1
Elgan asked on 06 Dec 2012, 07:29 PM
to make sure I'm right.


RadScheduleView.ViewDefinitions ..is read only? not setable?

why?


any way round this? !

Edit: The viewDefinitions don't even have visible propertie....

so I am stuck? or use a new control

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 11 Dec 2012, 01:37 PM
Hi Elgan,

That is correct, ViewDefinitions property is not settable. Could you please explain the requirement in more details?

Regards,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Elgan
Top achievements
Rank 1
answered on 14 Dec 2012, 03:02 PM
I would like to let the user add viewdefinitions.

Select for example if they want to see a week view, or a month view,  which first and so on.

so I might have the following views;

Firdays only view
Thursdays only view
weekends view
weekdays view
Month view
timeline view
day view
week view


Then they can select which they want to see by default. Without having loads of buttons / or even a drop down.

To do this, I need to be able to edit, set the collection

0
Yana
Telerik team
answered on 18 Dec 2012, 10:02 AM
Hi Elgan,

Thank you for sending the details.

You could add and remove ViewDefinitions like this in code-behind only.  The property is not settable as the common scenario is to define the VIewDefinitions in XAML,

We're sorry for the inconvenience.

Kind regards,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ScheduleView
Asked by
Elgan
Top achievements
Rank 1
Answers by
Yana
Telerik team
Elgan
Top achievements
Rank 1
Share this question
or