Docs: Telerik.Web.UI.RadListViewFilterExpressionLogicBuilder class members
listView.get_filterExpressions()
.clear()
.build()
.greaterThan("UnitPrice", 25)
.and()
.lessThan("UnitsInStock", 40)
.or()
.group(function (builder) {
builder.notEqualTo("Discontinued", true)
.and()
.startsWith("ProductName", "I");
});
listView.rebind();
Hello,
I can't tell you how long we've racked our brains trying to figure this issue out. We are using the Bootstrap theme for RadListView and are doing drag and drop. We've been getting a "This is an invalid webresource request. " error when first dragging an item on the page.
I just came across this article which provided me some new guidance:
https://feedback.telerik.com/aspnet-ajax/1586960-windows7-and-vista-skins-generate-application-error-when-using-editor-control
And we decrypted the querystring of the WebResource request and it is looking for this:
pTelerik.Web.UI.Skins|Telerik.Web.UI.Skins.Bootstrap.ListView.drag.gif
When we change our RadListView skin to "Default" or "Black", this drag and drop error is gone so there clearly must be a broken link/reference for that image because we also see the little drag and drop cross overlaying the items we are dragging.
Thank you,
Curtis
While the Progress SASS ThemeBuilder - UI for ASP.NET AJAX is the only official online Web tool for creating custom Skins, some controls are not included.
We would like the ListView included in this process.
I actually want a sample similar to facebook where you scroll down and the vertical scrollbar automatically adjust without a slidder or a button. So far, the provided samples are not really doing the job. As suggested by Eyup Admin, i'm opening this feature request for a working sample using server side.
When using DataGroups, we can display the DataGroupKey in the DataGroupTemplate. In my case, I wanted to display 3 additional fields in the DataGroupTemplate. I was displaying checks sent to our vendors. Each check had a list of what payments were included in the check (one check may be for several different items that needed paid to the one vendor). I was grouping the data by CheckNumber. In the DataGroupTemplate, I wanted CheckDate, CheckNumber, VendorName, CheckAmount. In the ItemTemplate I had SubmittedDate, SubmittedBy, CostCode, Amount, etc. So my request is to be able to use something like <%# Eval("CheckDate") %> in the DataGroupTemplate.
Please implement scrolling with static headers functionality for RadListView just like it is for RadGrid. Due to my specific implementation needs, I have to use a RadListView but I would like to take advantage of the scrolling w/ static header functionality just like RadGrid offers.
99.999% of the time we don't need scripts loaded for the RadListView, especially in the context of Sitefinity. Would it be possible to have a webconfig setting that would let us globally disable it's scripts so it's a pure\clean server-side repeater\rendering tool? The problem is with it on the page it sends it's script, and jQuery and whatever else (Core.js?)...when zero of those are used at all.
Since this control already supports drag and drop, why not implement item sorting using that same method, client side. On client side and server side, would be useful to have access to that reordered list of items so that it could be saved to a database. Here is a live example of how a gallery of images could be reordered with a nice highlight effect after saving the new position. http://jquery-drag-and-drop.ssdtutorials.com/ Also, it would be very important to support responsive behavior and touch devices. I believe this would be a step into perfection of this wonderful control.
Currently, drag and drop is only supported with server-side binding.
We use the RadListView a lot in Sitefinity, and often I want the ability to hide the listview on no data. Problem with the EmptyDataTemplate is that the LayoutTemplate usually has headers in it or a ul wrapper. Example: <LayoutTemplate> <h2>Related Content</h2> <ul> <asp:PlaceHolder ... </ul> </LayoutTemplate> So in an emptydatatemplate, it's going to render in that placeholder and have a "Related Content" header...with no content...as you wouldnt want <h2>Related Content</h2> <ul> <li>No Content</li> </ul> I would love to have a property such that the control will just hide itself when there's no data on databound. Reason I mention sitefinity is the templates ("views") are editable in the UI, so there's no ability to add custom code to handle an event. So I guess it's a feature request for a new property or some other method to not render the layouttemplate.