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

3 posts, 0 answers
  1. jaws1021
    jaws1021 avatar
    41 posts
    Member since:
    Jun 2012

    Posted 11 Jun 2010 Link to this post

      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. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 14 Jun 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. jaws1021
    jaws1021 avatar
    41 posts
    Member since:
    Jun 2012

    Posted 14 Jun 2010 Link to this post

    yes I did..
Back to Top