Inhert from RadWindow

3 posts, 0 answers
  1. Marc
    Marc avatar
    4 posts
    Member since:
    Jan 2014

    Posted 11 Apr 2014 Link to this post

    Hey -

    Is is possible to inherit from RadWindow? I have created a project based on other example projects you have posted for other controls but I am getting the following error:
     "The base class includes the field 'RadWindow1', but its type (Whatever.Lightbox) is not compatible with the type of control (Whatever.Lightbox)."

  2. Danail Vasilev
    Danail Vasilev avatar
    1476 posts

    Posted 16 Apr 2014 Link to this post

    Hi Marc,

    It is fine to inherit the RadWindow. For example:
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
    protected void Page_Load(object sender, EventArgs e)
        MyRadWindow myRW = new MyRadWindow();
        myRW.VisibleOnPageLoad = true;
    public class MyRadWindow : RadWindow

    Regarding the mentioned error message it is not know to us. I can suggest that you examine this and this forum threads that shed more light on the matter.

    Danail Vasilev

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft R3 2016 release webinar banner
  4. Marc
    Marc avatar
    4 posts
    Member since:
    Jan 2014

    Posted 18 Apr 2014 in reply to Danail Vasilev Link to this post

    Hey Danail -

    I was able to get it resolved. It was a circular reference issue.

Back to Top