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

dynamically adding ResourceStyleMapping entries and ViewState

1 Answer 53 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
John Yoo
Top achievements
Rank 1
John Yoo asked on 24 Jul 2009, 10:13 PM
In my application the resource style mappings are quite dynamic, and I figured out how to add them dynamically, it works.
However, is there a way to "inject" these mappings into the ViewState of the Scheduler when I generate them?
As of now, on some of the postbacks, not all the data gets re-bound and thus the mappings don't get added.  Is there a way to tell the mapping to be injected into the viewState of the control, so it is available on postbacks?
The code which creates the mappings does check to make sure the mapping doesn't already exist.

1 Answer, 1 is accepted

Sort by
0
Accepted
T. Tsonev
Telerik team
answered on 28 Jul 2009, 03:33 PM
Hi John,

The resource styles should indeed be saved in the ViewState. Currently this is not being done and we'll take care to fix it. The fix will be available in the next internal build (version 2009.2.728 and up) that you can download from your Client.NET account.

Thank you for reporting this issue. As a token of our gratitude for your involvement, your Telerik points have been updated.

Sincerely yours,
Tsvetomir Tsonev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Scheduler
Asked by
John Yoo
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question
or