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

PanelBar Expand/Collapse Buttons No Server-Side Event

1 Answer 43 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Seth
Top achievements
Rank 1
Seth asked on 12 Nov 2010, 10:00 PM
I have a PanelBar that I dynamically load data in the ItemTemplates when the user expands the PanelBarItem.  This was working fine until the new skins came out that added the expand/collapse button to the PanelBarItems.  It doesn't seem that a Server-Side event gets fired when this button is used.  I was triggering off of the ItemClick event to perform my databinding, but this no longer works.  Are there any suggestions on how to handle the action of a user clicking on this button?

TIA

1 Answer, 1 is accepted

Sort by
0
Nikolay Tsenkov
Telerik team
answered on 16 Nov 2010, 05:37 PM
Hello Seth,

Well you can handle the ClientItemExpand and ClientItemCollapse events and call the click() method of the item that is being expanded/collapsed, e.g. args.get_item().click(). Then if the ItemClick is handled on the server the PanelBar will postback.

I hope this solves it for you!


Regards,
Nikolay Tsenkov
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
PanelBar
Asked by
Seth
Top achievements
Rank 1
Answers by
Nikolay Tsenkov
Telerik team
Share this question
or