More in this section

Forums / Developing with Sitefinity / Edit Custom Widget from Page with Show Editing Tools

Edit Custom Widget from Page with Show Editing Tools

2 posts, 0 answered
  1. Randy
    Randy avatar
    2 posts
    Registered:
    06 Jan 2009
    14 Mar 2013
    Link to this post
    I have a simple widget with two edit areas. Is it possible to edit the data using the Show Editing Tools like you can a Content Block? That is click on the edit button and have a Rad Text Editor popup, not from the backend but from the live site with the Tools Gear.

    Sorry for being wordy, but I don't really know what that Tools Gear from the front end is called?

    Thanks
    Randy
  2. Stefani Tacheva
    Stefani Tacheva avatar
    718 posts
    Registered:
    31 May 2017
    19 Mar 2013
    Link to this post
    Hello Randy,

    You could use a RadEditor in your User Control, where you simply need to declare the RadEditor on the template (.ascx file) as the following and register the control in Sitefinity:

    <telerik:RadEditor runat="server" Id="MyEditor"/>

    Then you could implement your logic in your custom control. For instance if the Edit button is clicked the RadEditor will appear.

    You can find some additional information about the RadEditor here:
    http://www.telerik.com/help/aspnet-ajax/editor-overview.html 

    Regards,
    Stefani Tacheva
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered