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

Could not resolve type System.Web.UI.ClientIDMode

3 Answers 261 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 12 Jan 2012, 12:18 AM
Hello,

I'm working with RadControls Q2 2011 on a project (yes I know I have to update).  It's working fine on one computer but when I open this project on my laptop I've been getting all sorts of errors.  I finally have them all worked out except this one.  The target framework is 3.5.  I've tried adding the AutoID setting to the web.config <pages> section but I kept getting an error that the attribute wasn't allowed (maybe because it's for 4.0?).  Somehow I don't think that's my problem considering this project works fine under my workstation.  I thought it was strange that the version listed in the error for System.Web is 2.0 considering I have no references to 2.0 since I'm using 3.5.  In the properties pages references I see all of my .NET references are to 3.5.  For kicks I tried adding a reference to System.Web 2.0 but received an error that the web site is already referencing the assembly System.Web.  Any ideas?

Error Creating Control - RadGrid1
Could not resolve type System.Web.UI.ClientIDMode in assembly System.Web, Version=2.0.0.0

Thanks for the help!!
-Tim

3 Answers, 1 is accepted

Sort by
-1
Shinu
Top achievements
Rank 2
answered on 12 Jan 2012, 05:56 AM
Hello Tim,

Take a look at the following help documentation.
General Troubleshooting.

-Shinu.
0
Gert Petersen
Top achievements
Rank 1
answered on 24 Feb 2012, 07:44 PM
there is no help to find in there !
I have the same problem, please give a more specific answer
-1
Andrey
Telerik team
answered on 29 Feb 2012, 02:58 PM
Hello,

You could try removing all the information from the assembly declaration except the assembly name. This means that you need to remove the Version, Culture, and the PublicKeyToken from the assembly declaration.

If that does not help you resolve the issue, please share your Web.Config file content.

Additionally, you could try to close all the opened instances of Visual Studio and then clear the content of these folders:
  • C:\Users\current_user\AppData\Local\Microsoft\VisualStudio\10.0\ProjectAssemblies
  • C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files

Give these suggestions a try and check whether the issue is resolved.
Greetings,
Andrey
the Telerik team
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 RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Tim
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Gert Petersen
Top achievements
Rank 1
Andrey
Telerik team
Share this question
or