More in this section

Forums / Developing with Sitefinity / Embeding Designer templates in compiled SimpleControls

Embeding Designer templates in compiled SimpleControls

1 posts, 0 answered
  1. Pierre
    Pierre avatar
    433 posts
    16 Feb 2006
    21 Sep 2009
    Link to this post
    Hi Team,

    I triing some solution where i need to embeding the Designer used for define properties for my SimpleControls. After embeding my resources i try to call from compiled source but  have one error like unable to resolve the path.
    This step is important for future distributions.

    I have override the public TemplatePath of myDesigner that inherit ControlDesigner by:
    public override string LayoutTemplatePath{ get{ return MyClass.resources.template.ascx; }}

    Some work around to override the Layout and use my internal designer witout exposing in public folder?

    Thanks, Regards

1 posts, 0 answered