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

Sys.InvalidOperationException

10 Answers 280 Views
Dock
This is a migrated thread and some comments may be shown as answers.
willie
Top achievements
Rank 1
willie asked on 07 Aug 2007, 08:20 AM
Gentlemen,

I have a serious issue here that is going to impact business.

ISSUE:
Error: Sys.InvalidOperationException: Object Telerik already exists and is not a namespace.
Code: 0

SCENARIO:
I have a Master Page with a Rad Tab Strip, Rad AJAX Manager, RAD Panel Bar. Everything works well till this point.

Now, I have a content page named 'default.aspx' which has a Content Place Holder and within it as ASP.NET Panel. I programatically add a user control (control code pasted below) to this panel using Item Click of the Panel Bar on the Master Page. The user control in turn has a Rad Multi-Page. Within this is a PageView control. On the PageView, we have a Prometheus Rad Layout with a Rad zone that hosts a Rad dock.

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="TabPages.ascx.cs" Inherits="UserControls_TabPages" EnableViewState="false" %>
<%
@ Register Assembly="RadDock.Net2" Namespace="Telerik.WebControls" TagPrefix="cc1" %>
<%
@ Register Assembly="RadTabStrip.Net2" Namespace="Telerik.WebControls" TagPrefix="radTS" %>
<%
@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<
radTS:RadMultiPage ID="tabMultiPage" runat="server" Height="100%" Width="100%">
   
<radTS:PageView ID="pgView" runat="server">
       
<telerik:RadDockLayout ID="dcl_Main" runat="server">
           
<telerik:RadDockZone ID="dcz_Main" runat="server" Height="300px" Width="300px">
               
<telerik:RadDock ID="dck_Main" runat="server" Width="300px">
               
</telerik:RadDock>
           
</telerik:RadDockZone>
        
</telerik:RadDockLayout>
   
</radTS:PageView>
</
radTS:RadMultiPage>

On the Master page, I get the Java Script error as above and the control of course does not render.
There is no custom code within the Code-Behind of the user control.

Please help!!

Thanks and Regards,
William



10 Answers, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 07 Aug 2007, 10:05 AM
Hello William,

Your scenario seems a bit complicated and I am afraid that we will not be able to reproduce it successfully here. Please open a formal support ticket and send us a simple project with the master page, the content page, and the user control. Also please tell us which versions of the controls you are using.

Greetings,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
willie
Top achievements
Rank 1
answered on 07 Aug 2007, 10:13 AM
Hello Lini,

Thank you for a prompt reply. This is what is best about Telerik. I would try and get a small application that would expose what I am trying to do.

In the meantime, may I request you to send me a sample project that could have something as below:

Master Page with a TabStrip
Content Page with a User Control having Multipage --> PageView --> RadDock.

For a minimum, can you at least give me direction as to why am I getting the error message I specified in the post.

Thanks !!
William


Thanks and Regards,
William
 
0
Lini
Telerik team
answered on 07 Aug 2007, 11:52 AM
Hi William,

Here is the example, which we used to try and reproduce your problem. Unfortunately, we get no error with this code. I am also sending the web.config file. Please compare it with yours and make sure that you have included all required sections for the ASP.NET Ajax extensions -

the <add tagPrefix="asp"... line
the <add assembly="System.Web.Extensions, ... line
all the lines from the <httpHandlers> and <httpModules> sections.

Kind regards,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
willie
Top achievements
Rank 1
answered on 07 Aug 2007, 12:16 PM
Hi Lini,

Thank you for the assistance and I bet you guys are too good with support. My web.config is absolutely OK.

One thing that I have realized is that when I disable AJAX everything works fine with a postback. As soon as I add a Rad AJAX Manager Setting for the tab page, the error comes up.

Any clues??

Regards,
William
0
Lini
Telerik team
answered on 07 Aug 2007, 01:41 PM
Hello William,

As I said earlier, it will be very hard to help you, since we cannot recreate the same scenario here. That is why it would be much easier to figure things out once you send us a sample of your code.

Regards,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
willie
Top achievements
Rank 1
answered on 07 Aug 2007, 02:09 PM
Lini,

I have raised a support ticket but, I am not sure what the file size upload limit is.

Regards,
William
0
Jim
Top achievements
Rank 1
answered on 29 Nov 2007, 11:52 PM
Has there been any update to this problem, or were you able to reproduce the problem?  I am getting the same error in a slightly different situation now and was hoping you might have some updated information regarding the source of the problem.
0
Lini
Telerik team
answered on 30 Nov 2007, 03:20 PM
Hello ,

The original problem was that William used the RadAjax from the ASP.NET controls suite with the RadDock control from the "Prometheus" suite. We advised him to start using the RadAjax control from the "Prometheus" suite because it is more compatible with ASP.NET Ajax controls (like the RadDock "Prometheus").

Sincerely yours,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Tulika
Top achievements
Rank 1
answered on 16 Dec 2008, 10:08 AM
Hi,

I'm using 'RadControls for ASPNET AJAX Q3 2008' for Asp.Net 2003. I'm also facing the same problem. Web config is matched with your provided one. I'm not understand the solution you provide. Kindly help me.

Regards,
Tulika
0
Nikolay Raykov
Telerik team
answered on 18 Dec 2008, 11:40 AM
Hi Tulika,

I have attached an example of how to use RadDock inside an user control in a master page scenario. Please review it and if it does not cover your specific scenario I suggest you to open a support ticket and send us a sample working project.

Sincerely yours,
Nikolay Raykov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Dock
Asked by
willie
Top achievements
Rank 1
Answers by
Lini
Telerik team
willie
Top achievements
Rank 1
Jim
Top achievements
Rank 1
Tulika
Top achievements
Rank 1
Nikolay Raykov
Telerik team
Share this question
or