More in this section

Forums / Developing with Sitefinity / Use one Designed userControl in aspx page

Use one Designed userControl in aspx page

2 posts, 0 answered
  1. Pierre
    Pierre avatar
    433 posts
    16 Feb 2006
    09 Jul 2009
    Link to this post

    I have created one designer for one Usercontrol using template and myControlBase and myControlDesigner. All works as expected in Editor mode. Now I need use not only in sf editor but in one normal aspx page to configure from client side my control. I have tried to register in one normal UserControl extending this Usercontrol codebehind with the myControlBase and after added to my page but is not rended. Could you help us to add in one aspx page one UserControl designed with myControlBase/myControldesigner.
    Thanks Romi.

    Page with UserControl that inherit from myControlBase
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="ConfiguratorUpDown.aspx.cs" Inherits="Empresas_configurator_Configurator" %> 
    <%@ Register Src="UseDesigner.ascx" TagName="UseDesigner" TagPrefix="uc1" %> 
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""> 
    <html xmlns="" > 
    <head runat="server"
        <title>Configurator VistaInmo</title> 
        <form id="form1" runat="server"
        <div id="designerhere"
            <uc1:usedesigner id="UseDesigner1" runat="server"></uc1:usedesigner> 

    UC codebehind (UseDesigner.ascx)
    public partial class UseControl : myControlBase 
        protected void Page_Load(object sender, EventArgs e) 
    The Page rended are nothing. The template herited from myControlBase is not here.
  2. Georgi
    Georgi avatar
    3583 posts
    28 Oct 2016
    14 Jul 2009
    Link to this post
    Hi Pierre,

    If you want the designer in a regular Aspx page, where and how will you persist the properties?

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
2 posts, 0 answered