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

What the? Inserting control inserts huge amout of code (and does not work)

4 Answers 65 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David Russell
Top achievements
Rank 1
David Russell asked on 15 Apr 2010, 03:12 AM

Hi,

I am writing a Telerik asp.net web site and having a problem I haven't seen before.

Start VS2008, open first aspx file. I can add Telerik controls. Switch to another aspx document attempt to add a Telerik control and a huge amount of mark up is inserted rather than the control (and does not function). Doesn't matter which aspx file I start with, when I switch to another one, I get the gibberish if I insert a control.

Could be unrelated: I recently "moved" my Documents folder to another drive.

This is a snippet of the load of text inserted rather than a valid control.

                    <soap-env:envelope soap-env:encodingstyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <soap-env:body>
                            <a1:webcontroltoolboxitem id="ref-1" xmlns:a1="http://schemas.microsoft.com/clr/nsassem/System.Web.UI.Design/System.Design%2C%20Version%3D2.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db03f5f7f11d50a3a">
                                <locked>true</locked>
                                <filter href="#ref-5">
</filter>
                                <bitmap href="#ref-6">
</bitmap>
                                <assemblyname href="#ref-7">
</assemblyname>
                                <displayname id="ref-8">RadTextBox</displayname>
                                <dependentassemblies href="#ref-9">
</dependentassemblies>
                                <description id="ref-10">Telerik RadInput</description>
                                <typename id="ref-11">Telerik.Web.UI.RadTextBox</typename>
                                <company id="ref-12">Telerik</company>
                                <propertynames href="#ref-13">
</propertynames>
 

4 Answers, 1 is accepted

Sort by
0
David Russell
Top achievements
Rank 1
answered on 15 Apr 2010, 10:35 PM
A response to this please?
0
Lini
Telerik team
answered on 16 Apr 2010, 09:57 AM
Hello,

I found a reference to a similar issue in our forums - http://www.telerik.com/community/forums/aspnet/general-discussions/vs-2008-issue.aspx. Unfortunately, the original poster did not post whether he managed to solve the problem eventually.

Searching in Google with the error details yielded no usable results - almost all people, who reported the problem say it happens when they try to add ASP.NET AJAX controls in VS design mode. If you are not able to resolve the problem by other means, I think the only possible solution is to uninstall and then reinstall VS 2008 (and ASP.NET AJAX 1.0, if your application is built with .NET 2.0).


Sincerely yours,
Lini
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Kevin
Top achievements
Rank 2
answered on 04 May 2010, 12:59 AM
I'm also having this problem but in VS2010 RTM.  I used the Telerik addin to create the page.  This  is happening with 2010.1.415.40.
0
Kamen Bundev
Telerik team
answered on 05 May 2010, 02:49 PM
Hello Kevin,

I was able reproduce this issue with VS2010. These are some kind of shadows, not real RadControls. My best guess currently is that on installation VS2010 tries to import any custom control groups from VS2008 toolbox and fails. The fix is to remove the shadow controls and to reinstall RadControls for ASP.NET AJAX. Alternative route is to drag and drop the Telerik.Web.UI.dll on the ToolBox.

Best wishes,
Kamen Bundev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
David Russell
Top achievements
Rank 1
Answers by
David Russell
Top achievements
Rank 1
Lini
Telerik team
Kevin
Top achievements
Rank 2
Kamen Bundev
Telerik team
Share this question
or