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

[Solved] Namespace problems

3 Answers 130 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Megan
Top achievements
Rank 1
Megan asked on 08 May 2008, 01:28 PM
I've basically replicated this project:
 
http://www.telerik.com/demos/aspnet/prometheus/Controls/Examples/Integration/FileBrowser/DefaultVB.aspx

(Though I've taken out those Quickstart references and changed the Img file to Image.)

However, I have found that in the code behind .vb file, if  I use this namespace:

Namespace Telerik.Web.Examples.Controls.Integration.FileBrowser 


Then it complains that all the variable names like 'RadGrid1' and 'RadTreeView1' referenced in the code weren't declared.

Also, when I drag the menu separateer between "Name and Size" to the right, the controls fall over...

What would causing this?

3 Answers, 1 is accepted

Sort by
0
Robert
Top achievements
Rank 1
answered on 10 May 2008, 12:22 AM
I'm a C# developer so things may be a bit different.  But I seem to recall that Example namespace appearing in the beginning too.  I found that as long as the RadTreeView.Net2.dll was in my "Bin" folder and I references "Telerik.WebControls" in my code-behind file and the following in my web page file that all worked fine:

<%@ Register Assembly="RadTreeView.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>


Hope this helps!

Robert W.
0
Accepted
Veselin Vasilev
Telerik team
answered on 10 May 2008, 02:54 PM
Hi Megan,

I have noticed that you have not downloaded any of the RadControls for ASP.NET AJAX controls.

Make sure that you have references to Telerik.Web.UI and the file Telerik.Web.UI.dll is in your Bin folder.

Greetings,
Veskoni
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Megan
Top achievements
Rank 1
answered on 12 May 2008, 09:22 AM
Thanks, the namespace issue is fixed.




Tags
TreeView
Asked by
Megan
Top achievements
Rank 1
Answers by
Robert
Top achievements
Rank 1
Veselin Vasilev
Telerik team
Megan
Top achievements
Rank 1
Share this question
or