Telerik Forums
Kendo UI for jQuery Forum
1 answer
50 views
I don't think this was an issue until the previous updates; the kendo listview is no longer inheriting the tabindex from the parent element (0) and instead sets it to -1, even if the listview is navigatable and selectable. I can reset it after the declaration, but as we use this control in a wide variety of applications, it's less than ideal to sweep for every instance when it was previously correct. Any suggestions on how to handle this?
Martin
Telerik team
 answered on 11 Jan 2023
1 answer
151 views

Hi,

We're not sure if this is a bug or feature.

Using ListView and the method setDataSource with the built-in paging. The ListView appears to change data sources but the paging doesn't. Tried using the refresh() method but same result.

We worked around it by using the Pager widget and ListView without the bulit-in paging and this seems to work okay.

It's not a problem. Just found it weird that we do the same for a Grid on the same page using the method setDataSource and the data source changes okay along with the paging.

Any thoughts?

Thanks
// First load
var dataSourceListView = new kendo.data.DataSource({
	data: dataSource,
	pageSize: 8
});

$("#listView").kendoListView({
	dataSource: dataSourceListView,
	dataBound: function () {
	},
	template: kendo.template($("#template").html()),
	pageable: true	
});

// Not first load
$("#listView").data("kendoListView").setDataSource(dataSourceListView);
//$("#listView").data("kendoListView").refresh();
Georgi Denchev
Telerik team
 answered on 15 Dec 2022
1 answer
90 views

Hello

I would like to use jQuery ListView to display products for an eshop solution.

Is it possible to nest a jQuery Rating Widget inside the ListView template and set the value when binding the data to the ListView?

I use ASP.Net Core with RazorPages.

Thank u for ur support!

Nikolay
Telerik team
 answered on 12 Dec 2022
0 answers
636 views

I've reviewing the code Binding to remote data example for the ListView control. There's some HTML which I don't understand. It might be some HTML5 code snippets I'm unaware of, or it might be something specific to Kendo UI for jQuery. In any case I'm sorry for my ignorance. 

Here's a compact example from I'm referring to:


    <script type="text/x-kendo-template" id="template">
        <div class="product">
            <img src="../content/web/foods/#= ProductID #.jpg" alt="#: ProductName # image" />
            <h3>#:ProductName#</h3>
            <p>#:kendo.toString(UnitPrice, "c")#</p>
        </div>
    </script>

In the code snippet the src attribute has "../content/web/foods/#= ProductID #.jpg" and the alt attribute has "#: ProductName # image". I get that there's a substitution going on, but I don't understand why the src attribute using #= and the alt attribute doesn't. Why does it use #: ? 

What's the difference between the two and when do you use one other the other?

Rod
Top achievements
Rank 1
 asked on 19 Aug 2022
0 answers
122 views

We're still getting used to using Telerik's Kendo UI for jQuery. So far, we've only used one component, AutoComplete. Which works great, BTW!

There's something we'd like to do, but don't know how to do. On an ASP.NET MVC Core page (.NET 6) we want to be able to allow the user to enter multiple items of the same type. It seems like either the Grid or ListView Kendo components would work. Personally, I'm favoring the ListView. But we also need to use AutoComplete work when the user is entering values to a new row. So, for example, we need to collect LotNumber and ProgramName, multiple times, because there can be and often is, multiple items to be entered, along with other details on the same page. I've looked at the ListView component, the Add method, etc. In the example given, it references an identified (by using the HTML id property) control on the page. So, how does one apply AutoComplete to both LotNumber and ProgramName, when entering a new LotNumber/ProgramName pair in a ListView?

Rod
Top achievements
Rank 1
 asked on 19 Aug 2022
0 answers
57 views

Hi team,

Seems listview is no more in SASS theme builder!

Furthermore, when creating custom css with theme builder, I get duplicate lines (typography and utils) in file.scss !?


@import "~@progress/kendo-theme-default/scss/typography/_index.scss";
@import "~@progress/kendo-theme-default/scss/utils/_index.scss";
@import "~@progress/kendo-theme-default/scss/grid/_index.scss";
@import "~@progress/kendo-theme-default/scss/typography/_index.scss";
@import "~@progress/kendo-theme-default/scss/utils/_index.scss";
@import "~@progress/kendo-theme-default/scss/autocomplete/_index.scss";
@import "~@progress/kendo-theme-default/scss/typography/_index.scss";
@import "~@progress/kendo-theme-default/scss/utils/_index.scss";
@import "~@progress/kendo-theme-default/scss/combobox/_index.scss";
@import "~@progress/kendo-theme-default/scss/typography/_index.scss";
@import "~@progress/kendo-theme-default/scss/utils/_index.scss";
@import "~@progress/kendo-theme-default/scss/multiselect/_index.scss";
@import "~@progress/kendo-theme-default/scss/typography/_index.scss";
@import "~@progress/kendo-theme-default/scss/utils/_index.scss";
@import "~@progress/kendo-theme-default/scss/dropdownlist/_index.scss";
@import "~@progress/kendo-theme-default/scss/typography/_index.scss";
@import "~@progress/kendo-theme-default/scss/utils/_index.scss";
@import "~@progress/kendo-theme-default/scss/dropdowntree/_index.scss";
@import "~@progress/kendo-theme-default/scss/typography/_index.scss";
@import "~@progress/kendo-theme-default/scss/utils/_index.scss";
@import "~@progress/kendo-theme-default/scss/dropdowngrid/_index.scss";
@import "~@progress/kendo-theme-default/scss/typography/_index.scss";
@import "~@progress/kendo-theme-default/scss/utils/_index.scss";
@import "~@progress/kendo-theme-default/scss/colorpalette/_index.scss";
@import "~@progress/kendo-theme-default/scss/typography/_index.scss";
@import "~@progress/kendo-theme-default/scss/utils/_index.scss";
@import "~@progress/kendo-theme-default/scss/numerictextbox/_index.scss";
@import "~@progress/kendo-theme-default/scss/typography/_index.scss";
@import "~@progress/kendo-theme-default/scss/utils/_index.scss";
@import "~@progress/kendo-theme-default/scss/daterangepicker/_index.scss";
@import "~@progress/kendo-theme-default/scss/typography/_index.scss";
@import "~@progress/kendo-theme-default/scss/utils/_index.scss";
@import "~@progress/kendo-theme-default/scss/datepicker/_index.scss";

 

Please advise...

 

Best regards,

Laurent.

Laurent
Top achievements
Rank 2
Iron
Iron
 asked on 04 May 2022
0 answers
52 views

Good afternoon

I am trying to amend the code in this article so that I can achieve the following:

1.  Ability to remove items from the #newlist once they have been dropped

- I cannot for the life of me get the template functionality to work with the kb code so I must be missing something somewhere.

2. I am also unsure how to stop adding the same item repeatedly to the #newlist.

Any advice or pointers, gladly received.

 

Richard
Top achievements
Rank 1
 asked on 28 Feb 2022
1 answer
59 views
How do I select an item in my listview by the text displayed?
Georgi Denchev
Telerik team
 answered on 16 Feb 2022
2 answers
397 views

Hello,

I'm new here and I'm trying to figure out how can I drag and drop from a Grid to a TreeView

I found this example http://dojo.telerik.com/eWIgu/2

It's something like this what I want to do, but in the example I can't put an element in a certain node of the TreeView, I just add elements to the data source. So how can I do that? I need your help

 

PS. I also want to do this with a listbox instead of a grid. That's possible?

  
Neli
Telerik team
 answered on 15 Dec 2021
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?