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

RadPanelItems NavigateURL not working

5 Answers 119 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Justin
Top achievements
Rank 2
Justin asked on 01 May 2008, 12:52 PM
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?

5 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 01 May 2008, 01:00 PM
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
0
John Rogowski
Top achievements
Rank 1
answered on 01 May 2008, 01:04 PM
All those are set at design-time, mine are added at run-time.
0
Atanas Korchev
Telerik team
answered on 01 May 2008, 01:07 PM
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
0
John Rogowski
Top achievements
Rank 1
answered on 01 May 2008, 01:36 PM
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?
0
Atanas Korchev
Telerik team
answered on 01 May 2008, 02:44 PM
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
Tags
PanelBar
Asked by
Justin
Top achievements
Rank 2
Answers by
Atanas Korchev
Telerik team
John Rogowski
Top achievements
Rank 1
Share this question
or