Try Now
More in this section

Forums / Developing with Sitefinity / custom page selector

custom page selector

2 posts, 0 answered
  1. humayoo
    humayoo avatar
    89 posts
    25 Oct 2010
    10 Nov 2010
    Link to this post
    hi ,

    i am facing some problem in custom selector. i want to only the page tab is visible. from below code only page tab is visible,so this is fine. my problem is that when dialog box open, done button(i 'm done) is always disable. so i am not able to insert the selected page link to my url text box.

    i create a custom class that inherits from ItemSelector and there override CreateChildControls as shown below

    using System.Web.UI;
    using System.Web.UI.HtmlControls;
    using System.Web.UI.WebControls;
    using System.Web.UI.WebControls.WebParts;
    using System.Xml.Linq;
    using Telerik.Libraries.WebControls;

    namespace AdminControls
        public class CustomSelectorDialog : ItemSelector
            public CustomSelectorDialog()

            protected override void CreateChildControls()
                //this.container.TabStrip.Tabs[0].Visible = true;
                this.container.TabStrip.Tabs[0].TabStrip.Tabs[0].Visible = true;
                this.container.TabStrip.Tabs[0].TabStrip.Tabs[1].Visible = false;
                this.container.TabStrip.Tabs[0].TabStrip.Tabs[2].Visible = false;
                this.container.TabStrip.Tabs[0].TabStrip.Tabs[0].Selected = true;
                //this.container.TabStrip.Tabs[1].Visible = false;
                //this.container.TabStrip.SelectedIndex = 1;
                //this.container.TabStrip.MultiPage.SelectedIndex = 1;



    any help regarding this is appreciated. i am using community edition version 3.7

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    25 Oct 2016
    10 Nov 2010
    Link to this post
    Hello humayoo,

    We sent a reply to you in this thread.

    Best wishes,
    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
2 posts, 0 answered