Persisting designer values

Posted by Community Admin on 03-Aug-2018 22:31

Persisting designer values

All Replies

Posted by Community Admin on 30-Oct-2010 00:00

Hi,

while playing with NewsRotator sample, I noticed the whole process of fetching and updating control data is done in javascript. Can I achieve the same on server side? If yes, how? 

In my code I'm using ControlDesignerBase as a base for designer, I would like to know, whether it is possible to change the control being designed. 

In SF 3.7 there was method OnSaving() and property DesignerControl of ControlDesignerBase.

Thanks,
Robert

Posted by Community Admin on 01-Nov-2010 00:00

Hello Robert,

There is a javascript function - applyChanges that is used when you save the data. You could check Writing the JavaScript for the dialog topic of How_to_create_a_widget_4.0_Beta_2.pdf tutorial available in the SDK.

All the best,
Ivan Dimitrov
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

Posted by Community Admin on 01-Nov-2010 00:00

Hello Ivan,

thanks for answer. Will the javascript be the only option how to handle designer changes? No server side option for 'applyChanges' or something similar?

Thanks,
Robert

Posted by Community Admin on 01-Nov-2010 00:00

Hi Robert,

The control designer implements IScriptControl and ScriptControlDescriptor. We do no use server side methods to get or set the values.

Greetings,
Ivan Dimitrov
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

This thread is closed