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

Is there a difference between namespaces 'Telerik.Web.UI' and 'Telerik.WebControls.UI'

1 Answer 155 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jesper
Top achievements
Rank 1
Jesper asked on 10 Oct 2010, 11:32 AM
Hi,
Is there a difference between namespaces 'Telerik.Web.UI' and 'Telerik.WebControls.UI? I guess so because I have (only) using directive 'using Telerik.Web.UI;' in my code behind file and then I got error message

"The type or namespace name 'WebControls' does not exist in the namespace 'Telerik' (are you missing an assembly reference?)".

My problem is that I can't add namespace 'using Telerik.WebControls.UI;'. How to be able to add 'using Telerik.WebControls.UI'? Have I missed to import a reference? In that case, what reference do I need to add?

Any kind of help is highly appreciated.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 11 Oct 2010, 10:08 AM
Hello,


The error can occur if there is ambiguity between the version of RadControls used in application. 'Telerik.Web.UI' refers the Ajax version of RadControls and 'Telerik.WebControls.UI' refers the Classic version of RadControls.

You could check if you have the correct version of the dll in the bin folder of your project and namespace is added on page. Also, remove the old references in the code-behind file as well.

You can also check the following links which will help you in this.
Which file do I need to install?
Installing RadControls from ZIP file


-Shinu.
Tags
General Discussions
Asked by
Jesper
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or