Peter Skouhus
Top achievements
Rank 1
Peter Skouhus
asked on 18 Jul 2008, 10:30 AM
We have a page where a panel containing a radeditor is set to display=none at page load event (panel1.style.add("display", "none").
We have a link control that triggers a server side event that sets the panel's display style to block. However when we click the link, we get the following javascript error:
Microsoft JScript runtime error: Sys.InvalidOperationException: Component 'ctl00_cphCenter_staticpage_ctrl_ctl00_cphCenter_staticpage_ctrl_radBodydialogOpener' was not found.
In the other telerik version, we had a problem when a parent control's Visible property is set to false, so we worked around this by using the Style display property.
This does not seem to work for this version though.
We're using Ajax with Master/Detail pages.
The error above was generated by this RadEditor Script:
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]);
}
}
Has anyone encountered this, and how can it be solved? Thanks.
We have a link control that triggers a server side event that sets the panel's display style to block. However when we click the link, we get the following javascript error:
Microsoft JScript runtime error: Sys.InvalidOperationException: Component 'ctl00_cphCenter_staticpage_ctrl_ctl00_cphCenter_staticpage_ctrl_radBodydialogOpener' was not found.
In the other telerik version, we had a problem when a parent control's Visible property is set to false, so we worked around this by using the Style display property.
This does not seem to work for this version though.
We're using Ajax with Master/Detail pages.
The error above was generated by this RadEditor Script:
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]);
}
}
Has anyone encountered this, and how can it be solved? Thanks.
6 Answers, 1 is accepted
0
Hi Peter,
We are not aware of this problem and you are the first to report it. Is it possible to send us a sample runnable project that demonstrates this problem. You can use the support ticketing system to attach the files. We will examine the project, see what is causing the problem and try to provide a solution.
Kind regards,
Rumen
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
We are not aware of this problem and you are the first to report it. Is it possible to send us a sample runnable project that demonstrates this problem. You can use the support ticketing system to attach the files. We will examine the project, see what is causing the problem and try to provide a solution.
Kind regards,
Rumen
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Keith
Top achievements
Rank 1
answered on 18 Feb 2014, 10:28 PM
I am running into this exact same problem. We are using Q3 2013 controls currently.
Problem: we have a tab strip with 2 tabs. Each tab has a Radeditor on it. However, we are not setting display or visible false on the tabstrips or Radeditor but during page loading after pageload has fired we get:
0x800a139e - JavaScript runtime error: Sys.InvalidOperationException: Component 'ctl00_PlaceHolderMainContent_RadEditor1_dialogOpener' was not found.
below is the structure of our aspx page.
Problem: we have a tab strip with 2 tabs. Each tab has a Radeditor on it. However, we are not setting display or visible false on the tabstrips or Radeditor but during page loading after pageload has fired we get:
0x800a139e - JavaScript runtime error: Sys.InvalidOperationException: Component 'ctl00_PlaceHolderMainContent_RadEditor1_dialogOpener' was not found.
below is the structure of our aspx page.
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanelToolbar" runat="server" Transparency="10" HorizontalAlign="Center"></telerik:RadAjaxLoadingPanel><telerik:RadAjaxPanel ID="AjaxPanel" runat="server" LoadingPanelID="RadAjaxLoadingPanelToolbar"><telerik:RadSplitter ID="RadSplitter1" runat="server" Enabled="true"><telerik:RadPane ID="contentPane" Visible="true" runat="server" Enabled="false" Width="710px"><telerik:RadTabStrip ID="rtsDescriptions" runat="server" MultiPageID="rmpPages" SelectedIndex="0"EnableEmbeddedSkins="false" Skin="TrihydroSkin"><Tabs> <telerik:RadTab Text="Short Description" PageViewID="rpvShort" /> <telerik:RadTab Text="Long Description" PageViewID="rpvLong" /></Tabs></telerik:RadTabStrip><telerik:RadMultiPage ID="rmpPages" runat="server" SelectedIndex="0"><telerik:RadPageView ID="rpvShort" runat="server"> <telerik:RadEditor ID="RadEditor2" runat="server" /> </telerik:RadPageView><telerik:RadPageView ID="rpvLong" runat="server"> <telerik:RadEditor ID="RadEditor1" runat="server"/></telerik:RadPageView></telerik:RadMultiPage></telerik:RadPane></telerik:RadSplitter></telerik:RadAjaxPanel>0
Hello Keith,
I used the provided configuration, but I was unable to find JS errors. Please review this screencast and let me know if I am missing something important that could lead to the problematic behavior.
It would be helpful if you are able to provide a runnable project, that demonstrates the problem, so that I could be able to investigate it on my end.
Regards,
Ianko
Telerik
I used the provided configuration, but I was unable to find JS errors. Please review this screencast and let me know if I am missing something important that could lead to the problematic behavior.
It would be helpful if you are able to provide a runnable project, that demonstrates the problem, so that I could be able to investigate it on my end.
Regards,
Ianko
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
0
Keith
Top achievements
Rank 1
answered on 24 Feb 2014, 04:51 PM
Where can I attach the project? The attachement below doesn't allow over 2mb.
0
Keith
Top achievements
Rank 1
answered on 24 Feb 2014, 04:53 PM
Where should I attach the project to? The attachment here only allows up to 2mb.
0
Hi Keith,
You can attach a project in a support ticket: http://www.telerik.com/account/support-tickets/available-support-list.aspx.
Regards,
Marin Bratanov
Telerik
You can attach a project in a support ticket: http://www.telerik.com/account/support-tickets/available-support-list.aspx.
Regards,
Marin Bratanov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.

