1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Persisting designer values

Persisting designer values

4 posts, 0 answered
  1. Robert
    Robert avatar
    70 posts
    Registered:
    05 Feb 2009
    30 Oct 2010
    Link to this post
    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
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    01 Nov 2010
    Link to this post
    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
  3. Robert
    Robert avatar
    70 posts
    Registered:
    05 Feb 2009
    01 Nov 2010
    Link to this post
    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
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    01 Nov 2010
    Link to this post
    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
4 posts, 0 answered