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

Forums / Developing with Sitefinity / simple page selector for ascx user control

simple page selector for ascx user control

2 posts, 0 answered
  1. Ryan
    Ryan avatar
    13 posts
    Registered:
    01 Dec 2010
    01 Feb 2013
    Link to this post
    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!
  2. MB
    MB avatar
    302 posts
    Registered:
    09 Jan 2005
    04 Feb 2013 in reply to Ryan
    Link to this post
    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.
2 posts, 0 answered