RadWindow component not found JScript runtime error

3 posts, 0 answers
  1. Venu Krishnamoorthy
    Venu Krishnamoorthy avatar
    12 posts
    Member since:
    Jul 2008

    Posted 08 Jul 2009 Link to this post

    We are using RadWindow as a Login Window with RadWindowManager. After successful login and redirection to main page, it raises below error at random when we try to make this RadWindow as visible = false..

    "Microsoft JScript runtime error: Sys.InvalidOperationException: Component 'LoginWindow' was not found."
    Here, LogineWindow is a RadWindow object.

    It throws this error from:-

    function Sys$Component$_setReferences(component, references) {
        for (var name in references) {
            var setter = component["set_" + name];
            var reference = $find(references[name]);
            if (typeof(setter) !== 'function') throw new Error.invalidOperation(String.format(Sys.Res.propertyNotWritable, name));
            if (!reference) throw Error.invalidOperation(String.format(Sys.Res.referenceNotFound, references[name]));
            setter.apply(component, [reference]);
        }
    }

    This problem is raised in your latest Beta released version 2009.2.701.35. Before that, we were using 2008.3.1125.35 version without any problem with no change in code.

    Please let us know, if any adjustment is required while working with RadWindow.

    Waiting for your reply.

    Venu

  2. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 09 Jul 2009 Link to this post

    Hi Venu,

    We are sorry but we cannot reproduce the scenario on our side. We are willing to help, but we will need your further cooperation. Could you, please, open a new support ticket and send us a runnable sample that reproduces the problem? We will take a closer look at your code, test it on our side, investigate the issues and do our best to help you.


    Sincerely yours,
    Fiko
    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.
  3. Venu Krishnamoorthy
    Venu Krishnamoorthy avatar
    12 posts
    Member since:
    Jul 2008

    Posted 15 Jul 2009 Link to this post

    Mentioned error is not raised If we set LoginWindow.VisibleOnPageLoad as false instead of LoginWindow.Visible as false in code behind.

    Venu

Back to Top