simple page selector for ascx user control

Posted by Community Admin on 04-Aug-2018 17:19

simple page selector for ascx user control

All Replies

Posted by Community Admin on 01-Feb-2013 00:00

in Sitefinity 3.7 I added a blog selector to the admin area of my user control with the following code:

[TypeConverter("Telerik.Blogs.WebControls.SelectedBlogsConverter, Telerik.Blogs")]
    [WebEditor("Telerik.Blogs.WebControls.BlogsSelector, Telerik.Blogs")]
    public Guid[] SelectedBlogs
    
        get
        
            return this.selectedBlogs;
        
        set
        
            this.selectedBlogs = value;
        
    
 
    private Guid[] selectedBlogs;

I would like to add a page selector to the admin section of a user control I'm building for Sitefinity 5.3, but can't seem to get it to work.  Does anyone know the equivalent code for 5.3?  Please include using statements or fully qualified class names.  Thanks!

Posted by Community Admin on 04-Feb-2013 00:00

Equivalents of V3 WebEditors don't exist in V4/5, and instead you need to create a full control designer (which was also possible with V3).

Telerik's THUNDER add-in will do most of the heavy lifting for you, and should be able to generate the necessary code.

This thread is closed