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

Forums / Developing with Sitefinity / Getting HTML from a Generic Content Control

Getting HTML from a Generic Content Control

2 posts, 0 answered
  1. Dan
    Dan avatar
    23 posts
    Registered:
    04 Dec 2010
    17 Dec 2010
    Link to this post
    Here's my situation. I am attempting to use JShowOff (http://ekallevig.com/jshowoff/) in the header of my template. The way it works is each slide is seperated by div tags. HTML code can be used into each one of these slides.

    The client wants the 4 slides to be easily managed through the CMS. I was thinking I could create 4 pages, each with a generic control box. The pages themselves would not be part of the site map. I could use code to pull the HTML from each of these generic control boxes and stick it in between the div tags on the template page.

    How can I do this? Or is there an easier solution?

  2. Dan
    Dan avatar
    23 posts
    Registered:
    04 Dec 2010
    17 Dec 2010
    Link to this post
    Nevermind. I was over thinking it. I just used containers for each div tag, and then from the CMS side I just inserted a generic content control.

    <asp:ContentPlaceHolder ID="Panel_1" runat="server" />   
2 posts, 0 answered