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

Links in panelBar heading

2 Answers 268 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
ISD
Top achievements
Rank 1
ISD asked on 08 Mar 2013, 03:24 AM
Hi there everyone. Apologies if this has been asked and answered but I haven't been able to find a definitive response on the subject so please understand.

I have a panelBar with a heading row that includes a link as well as a title. When I click on the link it expands or collapses the panelBar content rather than actually following the link. I have put together a quick example at the link below.

http://jsfiddle.net/XRfKb/44/

Is there are way for links in the panel bar title to be fired without the panelBar content changing state?

Thanks in advance

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 11 Mar 2013, 12:20 PM
Hello,

You need to prevent click event bubbling.

http://jsfiddle.net/XRfKb/56/

All the best,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
ISD
Top achievements
Rank 1
answered on 12 Mar 2013, 12:34 AM
Thanks for the quick response. It works now.

http://jsfiddle.net/XRfKb/59/
Tags
PanelBar
Asked by
ISD
Top achievements
Rank 1
Answers by
Dimo
Telerik team
ISD
Top achievements
Rank 1
Share this question
or