Try Now
More in this section

Forums / 3.x Pre-release forums (retired) / Creating Custom Controls

Creating Custom Controls

2 posts, 0 answered
  1. fregas baratis
    fregas baratis avatar
    185 posts
    14 Nov 2002
    24 Jan 2007
    Link to this post
    So i'm playing around with the News module, trying to use it as a basis to create my own modules, which i have to do for a client website.

    In the documentation, it says to start by creating a class that inherits from WebModule.  Specifically, it says i have to implement two abstract methods:

    /// <summary>

    /// Creates the ControlPanel object which is rendered on the right side of the screen.

    /// </summary>

    /// <returns>Instance of the ControlPanel object of the module.</returns>

    public override Control CreateControlPanel(TemplateControl parent)


    return parent.LoadControl("~/Jobs/ControlPanel.ascx");


    /// <summary>

    /// Create the controls for the Jobs module toolbox.

    /// </summary>

    /// <returns></returns>

    public override IControlPanelCommand[] CreateToolBoxControls(TemplateControl parent)


    return new IControlPanelCommand[] { (IControlPanelCommand)parent.LoadControl("~/Jobs/ToolboxPanel.ascx") };


    But when i try to do this in my module, it gives me a compile time error saying that for these two methods, there is no suitable method to override.  Looking in the object browser, the WebModule class an interface does define these to methods, but without parameters.

    I went back to the JobsIntraSite, and its solution will not compile for the same reason.

  2. Bob
    Bob avatar
    330 posts
    30 Dec 2016
    25 Jan 2007
    Link to this post
    Hello Fregas,

    These parameters were introduced with the latest build to support User Controls for Intra-Site modules. Please make sure you are using the correct version. It is rather disturbing that JobsIntraSite is not compiling. we assume something wrong went with your installation. Please uninstall Sitefinity 3.0, delete \Program Files\telerik\Sitefinity 3.0 folder and install again. If the problem persists please open a support ticket.

    Does any one else experience this problem?

    the telerik team
2 posts, 0 answered