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

unknown server tag

7 Answers 78 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
jaws1021
Top achievements
Rank 1
jaws1021 asked on 10 Jun 2010, 09:20 PM
I've got this error message Unknown server tag 'radP:RadPanelBar'  Then I have found this link  http://www.telerik.com/community/forums/aspnet-ajax/panelbar/unknown-server-tag-telerik-radpanelbar.aspx for this saying that 2008 version is needed for RadPanelBar. but I have Q 2007 RadControls version..  First of all, is this really true that I need to have this version otherwise with 2007 it doesnt work? Is that anyway I can download this for free since I have 2007 version?
One thing makes me confused though if I really need to have 2008 version , why under the folder Q 2007 RadControls , RadPanelBar dll and documents etc comes with it, that's why I automatically thought that I am ok to use Radpanelbar... Please advice!!

7 Answers, 1 is accepted

Sort by
0
Nikolay Tsenkov
Telerik team
answered on 14 Jun 2010, 09:17 AM
Hi na,

This question is already been answered, so I am closing the thread.

Glad that we were able to help!

Greetings,
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, 09:55 AM
I am not clear what to do on that all !! Is that means I need to get 2008 version, if so do I need to pay for it or is it free download for it? I am stuck here!
0
Nikolay Tsenkov
Telerik team
answered on 14 Jun 2010, 01:33 PM
Hello na,

Have you tried to add the 2 lines that I suggested in your other posts (threads):
in the markup:
<%@ Register TagPrefix="telerik" Namespace="Telerik.WebControls" Assembly="RadPanelbar.Net2" %>
in the code-behind:
using Telerik.WebControls;
?

If not, please try it out!

If you did tried this out, what exactly is the problem now?

Hope that soon we will resolve this!


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:35 PM
I wanted to use RadpanelBar from telerik controls, I looked at the demo sample http://demos.telerik.com/aspnet-ajax/panelbar/examples/applicationscenarios/accessingnestedcontrols/defaultcs.aspx  

but for some reason I couldnt get this work.. Here the problem I am having..
I added this to top of the aspx page...
<%@ Register Assembly="RadPanelbar.Net2" Namespace="Telerik.WebControls" TagPrefix="RadP" %>
<%@ Register Assembly="RadAjax.Net2" Namespace="Telerik.WebControls" TagPrefix="RadA" %>

and it is fine but on cs code I am getting this errors.. because on designer.cs I dont have RadPanel1 , if I added that manually it still gives error..
protected void Page_Load(object sender, EventArgs e)
        {
           
        }

        protected void nextButton_Click(object sender, EventArgs e)
        {
            GoToNextItem();
        }


        private void GoToNextItem()
        {
            int selectedIndex = RadPanelBar1.SelectedItem.Index;

            RadPanelBar1.Items[selectedIndex + 1].Selected = true;
            RadPanelBar1.Items[selectedIndex + 1].Expanded = true;
            RadPanelBar1.Items[selectedIndex + 1].Enabled = true;
            RadPanelBar1.Items[selectedIndex].Expanded = false;
           
        }

        protected void backButton_Click(object sender, EventArgs e)
        {

        }

The name 'RadPanelBar1' does not exist in the current context...
0
Nikolay Tsenkov
Telerik team
answered on 16 Jun 2010, 02:36 PM
Hello na,

Try deleting the panelBar from the markup of your page and adding it back from the toolbox of Visual Studio and let me know how did it go.


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 16 Jun 2010, 04:22 PM
I dont have telerik controls on my toolbox on VS .. how can I add it , I have tried but couldnt find it..
0
jaws1021
Top achievements
Rank 1
answered on 16 Jun 2010, 08:44 PM
I did finally added the VS toolbox and added that like you said from the toolbox.. now I get this problem..
The type or namespace name 'RadPanelbar' does not exist in the namespace 'Telerik.WebControls' (are you missing an assembly reference?)
I have this on cs page
using Telerik.WebControls;
 it is complaining on designer.cs page
protected global::Telerik.WebControls.RadPanelbar RadPanelbar1;
Tags
PanelBar
Asked by
jaws1021
Top achievements
Rank 1
Answers by
Nikolay Tsenkov
Telerik team
jaws1021
Top achievements
Rank 1
Share this question
or