More in this section

Forums / Developing with Sitefinity / Re-use of designers within other designers

Re-use of designers within other designers

2 posts, 0 answered
  1. Chris
    Chris avatar
    9 posts
    08 Aug 2011
    23 Apr 2012
    Link to this post

    We are developing a widget that includes another widget within it. Is there any way to expose the nested widget's designer to the user? We would prefer to avoid duplicating code from the nested control's designer in the parent.

    Or, if nested widgets are bad practice, what is a good alternative? We have a top navigation bar that needs to be used across templates that use otherwise unrelated masters.

    Thank you,
  2. Josh
    Josh avatar
    13 posts
    10 Sep 2010
    28 Apr 2012
    Link to this post
    Hi Chris - 

    Take a look at multi-view designers. A multi-view designer has "tabs" at the top allowing you to switch to different views. Then create some properties in your child widget that gets it's data passed from the parent widget. 

    Hope this is helpful.


2 posts, 0 answered