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:
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:
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
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