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

The type or namespace name 'radpanelbar' does not exist in the namespace

2 Answers 120 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
jaws1021
Top achievements
Rank 1
jaws1021 asked on 11 Jun 2010, 11:36 PM
  The type or namespace name 'radpanelbar' does not exist in the namespace 'Telerik.WebControls' (are you missing an assembly reference?)
I have this already 

<%

@ Register Assembly="RadPanelbar.Net2" Namespace="Telerik.WebControls" TagPrefix="RadP" %>

 

but still on cs code it is not recongnizing radpanelbar ... 

 

private void GoToNextItem()

 

{

 

int selectedIndex = RadPanelBar1.SelectedItem.Index;

 

 

RadPanelBar1.Items[selectedIndex + 1].Selected = true;

 

 

RadPanelBar1.Items[selectedIndex + 1].Expanded = true;

 

}
on here RadpanelBar1 is complaning error above.. Radpanelbar1 is the ID of the radpanelbar ..
What I need to do?

2 Answers, 1 is accepted

Sort by
0
Nikolay Tsenkov
Telerik team
answered on 14 Jun 2010, 01:33 PM
Hi na,

Well you need to include the library in the code-behind too:
using Telerik.WebControls;

Hope this is going to help you!


Regards,
Nikolay Tsenkov
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
jaws1021
Top achievements
Rank 1
answered on 14 Jun 2010, 01:36 PM
yes I did..
Tags
PanelBar
Asked by
jaws1021
Top achievements
Rank 1
Answers by
Nikolay Tsenkov
Telerik team
jaws1021
Top achievements
Rank 1
Share this question
or