This is a migrated thread and some comments may be shown as answers.

RadWindow component not found JScript runtime error

2 Answers 47 Views
Window
This is a migrated thread and some comments may be shown as answers.
Venu Krishnamoorthy
Top achievements
Rank 1
Venu Krishnamoorthy asked on 08 Jul 2009, 10:22 AM
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 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 09 Jul 2009, 03:45 PM
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.
0
Venu Krishnamoorthy
Top achievements
Rank 1
answered on 15 Jul 2009, 11:56 AM
Mentioned error is not raised If we set LoginWindow.VisibleOnPageLoad as false instead of LoginWindow.Visible as false in code behind.

Venu

Tags
Window
Asked by
Venu Krishnamoorthy
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Venu Krishnamoorthy
Top achievements
Rank 1
Share this question
or