More in this section

Forums / Developing with Sitefinity / Custom Control Property

Custom Control Property

2 posts, 0 answered
  1. Mike
    Mike avatar
    221 posts
    Registered:
    19 Aug 2008
    04 Mar 2009
    Link to this post
    Is there a custom control property i can use that will allow someone to select a library?

    For example i currently use this:

        [Category("CMS Pages"), Description(""), WebEditor("Telerik.Cms.Web.UI.CmsUrlWebEditor, Telerik.Cms")]

    This allows the user to use the CmsUrlWebEditor UI to select a page in the CMS... I would like to do the same for a library and have the propery return the name of the selected library...

    Is this possible?

    Duncan


  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    05 Mar 2009
    Link to this post
    Hello Duncan,

    Sitefinity does not provide the required functionality out of the box. But you could implement it by yourself using Images & Documents API. Also, you could find useful examples how to create your own web editor in the following online resources:
    1. Working with complex properties in Custom public controls (WebTypeEditor)
    2. Implementing TypeEditors for Complex Properties

    Hope this helps.

    Regards,
    Pepi
    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.
2 posts, 0 answered