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

Forums / Developing with Sitefinity / Add User Control to Page and Configure

Add User Control to Page and Configure

4 posts, 0 answered
  1. Siddesh Kapadi
    Siddesh Kapadi avatar
    239 posts
    Registered:
    09 Oct 2009
    03 Aug 2010
    Link to this post
    Hey,
    I have a unique requirement.
    I have a master page consisting of various parts like the header, footer, etc...
    I need to add a user control to the page, but not directly. Like the footer links. I need to drag drop the control to my user control namely footer.ascx, But since ContentPlaceholders are not available in the user controls, how can I manage and configure these?

    Regards,
    Siddesh Kapadi
  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    03 Aug 2010
    Link to this post
    Hello Siddesh Kapadi,

    Could you please elaborate on the scenario? Do you want a user control to serve as a content place holder?

    Best wishes,
    Georgi
    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
  3. Siddesh Kapadi
    Siddesh Kapadi avatar
    239 posts
    Registered:
    09 Oct 2009
    03 Aug 2010
    Link to this post
    Hey,
    The scenario is as follows:
    I have a master page consisting of various user controls(ascx) pages like header, footer, etc
    I have to populate latest news in the footer.scx pages and need to drag drop the news control to the footer and configure it.
    Configure it can be the selected category or set the news view holding page, etc.

    Please let me know how can I achieve this.

    Regards,
    Siddesh Kapadi
  4. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    06 Aug 2010
    Link to this post
    Hi Siddesh Kapadi,

    This is not achievable.

    The page editor works only with content placeholders located on the master page. You should use a content place holder with ID footer and then add controls to it in the template.

    Kind regards,
    Radoslav Georgiev
    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
Register for webinar
4 posts, 0 answered