Telerik Forums
Kendo UI for jQuery Forum
1 answer
766 views

This is an error that took us an hour to figure out.

We are using the right-arrow icon as part of the content within a collapsible header to represent a transition. (See image)

We found that the expand/collapse icon did not appear.

 

Further investigation reveals that if the header content contains a span with a class matching the regular expression k-i-arrow.* then the expand/collapse icon doesn't work.

See this example. https://dojo.telerik.com/EwAsaKAf/3

 

 

 

Dimitar
Telerik team
 answered on 16 Nov 2018
3 answers
683 views
 Hi, I'm trying to fill a panel with the content of a partial view using the following :

@(Html.Kendo().PanelBar()
        .Name("tPanelBarNavFolder")
        .ExpandMode(PanelBarExpandMode.Single)
        .HtmlAttributes(new { style = "width:300px" })
        .Items(panelbar =>
        {
            panelbar.Add().Text("My Folder")
                .Expanded(true)
                .Content(@<text> <div> abc @{ Html.RenderPartial("pvMyFolder", this.Model); } </div>
                </text>);
            
            panelbar.Add().Text("Communication").Enabled(false);
        })

The content of my partial view is <span>My Folder</span>.
However the partial view is not within the content of My Folder. It shows outside the Panel bar.
The above code working fine in Telerik MVC Extensions(superseded).
td0rmx
Top achievements
Rank 1
 answered on 24 Oct 2018
5 answers
73 views

Hello,

for a database table 'FAQ' (with columns Question and Answer) I want use the PanelBar to show the faq. If I use https://demos.telerik.com/aspnet-core/panelbar/remote-data-binding then the Answers (the childs) ar not displayed. But this I could solved by a ajax call which write the response to an array 'data'.

The childs are displayed as buttons. Can I display the child text as normal text?

And can I render the child text as html for links, formatting ...?

Dojo: https://dojo.telerik.com/OQusiTiJ

 

Regards,

Peter

 


Ivan Danchev
Telerik team
 answered on 24 Sep 2018
1 answer
929 views

Out of the box the arrow defaults to up for opened and down for closed. Out art director wanted to know if we could change the arrow to be pointing left for closed and up for open.

Hope this question makes sense.

 

Philip

Neli
Telerik team
 answered on 27 Feb 2018
16 answers
2.4K+ views
I would like a panelbar item to collapse if it is already expanded.
I would also like it to be deselected.

So in essence it would toggle open and closed

Is there a simple way to do that or what approach should I use.

thanks
dco
Neli
Telerik team
 answered on 01 Feb 2018
3 answers
355 views

Hi Support team,

 The panel bar expanding is not expanding now ,when I upgraded to the latest version (2017.2.621.545) from old version (2016.....).

  here is the JQuery code to expand on java-script call event which I am using ,it was working perfectly 

   var panelBar = $("#pnlbar").data("kendoPanelBar");
   panelBar.select(panelBar.element.children("li").eq(2));
   panelBar._selected[0].style.display = 'block';
   var item = panelBar.select();
    panelBar.expand(item);

please advice me the solution asap to solve the issue  ..

Thanks...

Dimitar
Telerik team
 answered on 26 Jan 2018
6 answers
177 views
I'm using a PanelBar in the exact same manner as TreeView but the expected control is not being built.
Is this supported or am I trying to do something that is not supported? I'm on 2012 Q3

More info on my issue here
Veselin Tsvetanov
Telerik team
 answered on 18 Dec 2017
3 answers
378 views
I have a panelBar with expandMode 'single'. Can I make it collapse when I click on a expanden item.
I want my user to be abel to collapse all items.
Nencho
Telerik team
 answered on 06 Dec 2017
8 answers
981 views
Hi
I have a certain requirement to work with Kendo Panelbar.
I have a panelbar with around 7 items in it and the default behavior of panelbar is to click on panel to open the section. I want to block this functionality and would like to open panels with the click of my own PREV/NEXT buttons inside each panel. It is like a wizard and user should follow NEXT button clicks to keep on going to next panels instead of clicking on any panel to open it. SO I would like to restrict user to just get to the next panel following a wizard sequence.
Any idea how to do it because I dont find any way to block the user from opening up a panel by clicking on it.
I'd appreciate your help
Thanks
Rizwan
Ivan Danchev
Telerik team
 answered on 22 Aug 2017
5 answers
219 views

Hi

Is it possible to use templates in a databound panelbar?

Pseudo:

<ul kendo-panel-bar k-data-source="files.panelData.data()" k-rebind="files.panelData.data()">
    <span k-template>
        <i class="fa fa-folder-open" ng-hide="{{!dataItem.expanded}}"></i>
        <i class="fa fa-folder" ng-hide="{{dataItem.expanded}}"></i>
        {{dataItem.text}} <span ng-show="dataItem.count!= 0">({{dataItem.count}})</span>
    </span>
</ul>

(gives --> k-template without a matching parent widget found. It can be one of the following: ?^^kendoTreeMap, ?^^kendoMobileListView, ?^^kendoMobileScrollView, ?^^kendoListView, ?^^kendoTreeView )

 

 

 

 

Nencho
Telerik team
 answered on 12 Jul 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?