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

[Solved] Update content of PanelBar's Item

1 Answer 79 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Deyan
Top achievements
Rank 1
Deyan asked on 05 Mar 2012, 12:39 PM
I have many panelBars with single Item in my page. Content of the Item is loaded with 'LoadContentFrom' method.
I'm implementing functionality that the Users can edit data within the Item from popup and when they close popup
I have to refresh only 1 PanelBar. Because I did not find Client Side function that can do that I just use jquery and
' $('#PanelId').load(....)'. The problem is that the text of the PanelBar's Item disappeared when load method is completed.
Any suggestions that I can avoid this ?

Best Regards.

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 08 Mar 2012, 09:53 AM
Hello Deyan,

You should not update the whole PanelBar, but only the <div class="t-content"> inside the corresponding item. Please modify the jQuery selector accordingly.

Greetings,
Dimo
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
Tags
PanelBar
Asked by
Deyan
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or