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

Forums / Designing with Sitefinity / RadTabStrip - Can't design?

RadTabStrip - Can't design?

4 posts, 0 answered
  1. Brenton
    Brenton avatar
    10 posts
    Registered:
    12 Sep 2008
    21 Oct 2009
    Link to this post
    This one should be simple:

    1. Create master page - looks sweet
    2. Create page using admin, apply template created in step 1 - looks sweet.
    3. Drag RadTabStrip into content area of new page created in step 2 - moving along
    4. Attempt to edit Tabs collection of RadTabStrip - disabled!

    What to do now? I need my users to be able to drag tab strips onto the page, add tabs, and put content on those tabs.

    Is this possible?

    ~brenton
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    21 Oct 2009
    Link to this post
    Hi Brenton,

    What to do now? I need my users to be able to drag tab strips onto the page, add tabs, and put content on those tabs.Is this possible?

    It is not possible, because we use dynamically created SiteMapdataSource. The page edit interface does not allow you to build your own datasource and dynamically populating the control in design mode.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Brenton
    Brenton avatar
    10 posts
    Registered:
    12 Sep 2008
    21 Oct 2009
    Link to this post
    Ok, so can you walk me through how to give the user the ability to create tabs dynamically, as well as the content for those tabs??

  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    22 Oct 2009
    Link to this post
    Hello Brenton,

    You need to create a custom control. For instance you could inherits from SimpleControl class.Then you need to create a control designer for your control. Your control designer should inherits from ControlDesigner class. In your control designer you should override LayoutTemplatePath and specify the path to your custom template for the designer basic tab. In this designer you should provide the ability for creating a new pages - respectively RadTabs. If you do not want these tabs to be a cms pages you need to create your custom data source which will be populated with the new data- persisting the tables.

    Generally in the designer you should provide the ability for a user to select the page, then you need to get the id of this page and under it, create a new RadTab.

    Regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Register for webinar
4 posts, 0 answered