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

Q1 Controls Problem - Wrong Assembly Added

4 Answers 60 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Heath Brown
Top achievements
Rank 1
Heath Brown asked on 17 Mar 2010, 06:53 PM
Hello,

I installed the Q1 2010 controls and I'm having a strange issue.  Every time I add a Telerik control on a web form, it creates the necessary assembly code at the top of the form.  Like so:

<%@ Register assembly="Telerik.Web.UI, Version=2010.1.216.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" namespace="Telerik.Web.UI" tagprefix="telerik" %> 

The only problem is this is the wrong version of the controls I'm using.  I'm using the .NET 4.0 controls and the code should actually be this:

<%@ Register assembly="Telerik.Web.UI, Version=2010.1.309.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4" namespace="Telerik.Web.UI" tagprefix="telerik" %> 

The difference being the version information.  Why would it act like I'm using .NET 3.5 when I am clearly using 4.0 and when the project was created it was created as a 4.0 project?  The toolbox even displays the correct controls as being 4.0.  For now, I'm going into the code and changing the assembly to correct the version, but ANY time I make a change to a control on the design surface it adds the 3.5 assembly code in addition to my 4.0 assembly code already there.  It is slowing me down quite a bit.  Can someone help me fix this?

Thanks for any help,
Heath Brown

4 Answers, 1 is accepted

Sort by
0
Heath Brown
Top achievements
Rank 1
answered on 19 Mar 2010, 03:30 AM
Anyone else have this problem?
0
Erjan Gavalji
Telerik team
answered on 19 Mar 2010, 07:50 AM
Hi Heath,

2010.1.216 is the version of RadControls for ASP.NET AJAX Q1 2010 Beta. Due to some specifics in the VS2010 toolbox population Visual Studio 2010 added the .NET 3.5 controls to the page though .NET 4.0 was dropped to the page.

Please, uninstall RadControls and install the Q1 2010 release instead. The installer file name should contain the 2010_1_309 string.

Let me know if that helps.

Kind regards,
Erjan Gavalji
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
Heath Brown
Top achievements
Rank 1
answered on 19 Mar 2010, 08:55 PM
Thank you for trying to help, but this did not solve the problem.  I uninstalled every Telerik software I have - all of them.  I even went into the GAC and removed anything Telerik there.  I then reinstalled everything and I'm still getting the exact same issue. :(
0
Heath Brown
Top achievements
Rank 1
answered on 19 Mar 2010, 10:49 PM
I fixed it.  There was an old version in a folder, I just did a search and it was some IDE folder or something.  In any event, I removed that and restarted VSD2010 RC.  Now my controls are showing up in design mode and I'm no longer getting ambiguous error messages.

Thanks much for the help, and thanks for such great products.
Tags
General Discussions
Asked by
Heath Brown
Top achievements
Rank 1
Answers by
Heath Brown
Top achievements
Rank 1
Erjan Gavalji
Telerik team
Share this question
or