RadPanelItems NavigateURL not working

6 posts, 0 answers
  1. Justin
    Justin avatar
    16 posts
    Member since:
    Oct 2007

    Posted 01 May 2008 Link to this post

    I'm converting a page from Q2-2007 to AJAX Q1-2008 and I'm having an issue with the RadPanelBar.  I'm adding RadPanelItems to the control programmatically, setting each NavigateURL in the code-behind.  When the control is rendered onto the page, the correct urls are displayed when you hover over the item.  However, clicking on them doesn't do anything.  Are they disabled by default or is something else going on here?
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 01 May 2008 Link to this post

    Hello Justin,

    This seems to work fine on our online demos. What could be different in your case?

    Regards,
    Albert
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. John Rogowski
    John Rogowski avatar
    11 posts
    Member since:
    Sep 2007

    Posted 01 May 2008 Link to this post

    All those are set at design-time, mine are added at run-time.
  4. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 01 May 2008 Link to this post

    Hi John Rogowski,

    Please find attached a sample page where items are defined from code behind. It contains one panel item whose navigateurl property is set. On our side clicking it successfully navigates to www.example.com.

    I hope this helps,
    Albert
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. John Rogowski
    John Rogowski avatar
    11 posts
    Member since:
    Sep 2007

    Posted 01 May 2008 Link to this post

    Okay, I found the major difference and what seems to be causing the problem.  If I use something like http://www.webcrawler.com/ as the navigate url, it works just fine.  However, when I try to reference a javascript function (ex. javascript:OpenWindow("test");) that is defined on my page, it doesn't even hit the function.  I tried putting in alerts and everything just to see.  This functionality worked on the Q2-2007 controls.  Any ideas?
  6. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 01 May 2008 Link to this post

    Hi John Rogowski,

    Thank you for the details. This appears to be a bug in RadPanelbar which we have already fixed. Please open a formal support ticket should you need the hotfix.

    All the best,
    Albert
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top