I need to create this ... ''' <summary> ''' Gets all categories ''' </summary> ''' <param name="categoryName">Category name</param> ''' <param name="pageIndex">Page index</param> ''' <param name="pageSize">Page size</param> ''' <param name="showHidden">A value indicating whether to show hidden records</param> ''' <returns>Categories</returns> Public Overridable Function GetCategories(Optional categoryName As String = "", Optional pageIndex As Integer = 0, Optional pageSize As Integer = Integer.MaxValue, Optional showHidden As Boolean = False) As IPagedList(Of Category) Implements ICategoryService.GetCategories Dim query = _categoryRepository.SelectOne If Not showHidden Then query = query.Where(Function(c) c.Published) End If If Not [String].IsNullOrWhiteSpace(categoryName) Then query = query.Where(Function(c) c.Name.Contains(categoryName)) End If query = query.Where(Function(c) Not c.Deleted) query = query.OrderBy(Function(c) c.ParentCategoryId).ThenBy(Function(c) c.DisplayOrder) If Not showHidden Then 'ACL (access control list) Dim allowedRolesIds = Ctx.CurrentUser.Roles.Where(Function(cr) cr.Active).[Select](Function(cr) cr.EntityId).ToList() query = From c In query Join acl In _aclRepository.SelectOne On _ New With { _ .c1 = c.EntityId, _ .c2 = "Category" _ Equals acl Select Var = acl } = New With { _ .c1 = acl.EntityId, _ .c2 = acl.EntityName _ } Into c_acl From acl In c_acl.DefaultIfEmpty() Where Not c.SubjectToAcl OrElse allowedRolesIds.Contains(acl.RoleId) Select c 'Store mapping Dim currentStoreId = _storeContext.CurrentStore.EntityId query = From c In query Join sm In _storeMappingRepository.SelectOne On _ New With { _ .c1 = c.EntityId, _ .c2 = "Category" _ Equals sm Select Var2 = sm } = New With { _ .c1 = sm.EntityId, _ .c2 = sm.EntityName _ } Into c_sm From sm In c_sm.DefaultIfEmpty() Where Not c.LimitedToStores OrElse currentStoreId = sm.StoreId Select c 'only distinct categories (group by ID) query = From cGroup In From c In query Group c By c.EntityId Into cGroup.Key cGroup.FirstOrDefault() query = query.OrderBy(Function(c) c.ParentCategoryId).ThenBy(Function(c) c.DisplayOrder) End If Dim unsortedCategories = query.ToList() 'sort categories Dim sortedCategories = unsortedCategories.SortCategoriesForTree() 'paging Return New PagedList(Of Category)(sortedCategories, pageIndex, pageSize) End Function How do I get in VB.net
HI, I still wonder why there is no text input autocomplete widget for Kendo Mobile. I like kendo MVVM to structure an APP. but i really need to use Autocomplete for my proyect (around 5 in different forms). I guess i should go for ionic framework on AppBuilder (i really love the platform) if there is no way to implement autocomplete in a clear way. Regards
Dear Telerik, What are you waiting for to implement a exporting resources to KENDO UI DataViz? You are losing market share because Highcharts and FusionCharts already have this possibility. Please, let us know when it will be avaiable.
What I want to achieve is a dynamic Choropleth map of the World, whose data change according to a set of parameters. It is my understanding that the maps widget in Kendo UI can display data in a Shape layer using GeoJSON files that contain both the definition of the shapes of the countries and the data itself (e.g. the population). From your GeoJSON demo it is clear how to change the colour of the countries using the Chroma.scale method. But it also looks like I need the shape definitions to be duplicated over and over to show different data on the same map: let's say that I have about 400.000 possible combinations of the filters, it appears as if I'm going to need 400.000 GeoJSON files that contain both the shapes definitions and the the data and this means lots of network traffic. My point is that, since the shapes of the countries do not change because the map is always the same, wouldn't it be useful to split the shape definition from the data itself? In other words having a "shapeSource" property to which you link a GeoJSON that defines the shapes and the "dataSource" property bound to a JSON file that only has data: when the combination of filters changes I would only change the dataSource object. My current solution is to have the "shapes definition only" file set in the dataSource property of the shape layer and then to use a Kendo.dataSource "data-only" object that I would use in the shapeCreated method to set the colours of the countries. As a side note, the "data-only" Kendo.dataSource object will be shared between three widgets in the same page because the same data will be shown in a map, a chart and a grid.
Add rerender method to DropDownList, so that it could be dynamically refreshed after eintire select's HTML was changed. i have a page with several select lists, and their options can be added/removed/disabled/enabled again based on a quite complex logic, which is easier to implement with DOM maniulation than with calling DataSource methods. Would be nice to have such a possibility
Be able to show an empty marker when the value is 0 for the sparkline like in this demo: http://dojo.telerik.com/@tsvetomir/ogiH/2 The demo use a hack to show the marker but it would good to have a real solution.
Your Kendo UI demos are useful, however they lack a basic overview to orientate new comers as to the specifics. More importantly I would find it useful, and it would be more thorough, to provide examples in both Razor and JavaScript Syntaxes.
Add an Year view in addition to the Day, Week and Month views.
Currently, DataViz charts allow you to set a valueAxis's tick mark increments (increments of 100 would give you 0, 100, 200, 300, etc). I suggest a way to set a specific amount of ticks that your chart will always load, and the data will use divisions to fit the tick amount you set. Example: I want my chart to always display 5 ticks. I have two users, one who has a max number of 100 and the other has a max of 500. For User 1, the chart would set a max of 100 divided by the 5 ticks (so increments of 20). User 2 would get increments of 100 to fit the 5 ticks.
Please provide "retina" support for Kendo Map. At this point its kinda "table stakes" for a mapping component - let alone one that you need to pay for.
Enable chart interactive features with Canvas rendering.
Currently it is only possible to display more than one measure on a pivot grid. This is a must have requirement for most pivot grids. Please consider removing this limitation soon.
I would like to the see a feature wherein I can set additional target lines for a bullet chart. This is helpful in scenarios where I need to indicate a target and benchmark. I was able to see similar questions in your forum http://www.telerik.com/forums/set-target-range and also one on stack overflow http://stackoverflow.com/questions/25303748/kendo-bullet-chart-with-two-target-lines
Currently I am using v2014.1.416. I am binding mouseup event with below code. $('#' + mainId + ' div.k-splitbar').live('mouseup', function(e){ setTimeout(function () { if ((typeof ($fujicracommon) != "undefined") && ($fujicracommon != null)) { $fujicracommon.handleVesselResize(); } }, 200); });
Kendo Tabstrip reorder
Make the Kendo UI Dojo embeddable via an iframe. Exactly what jsfiddle.net offers. http://doc.jsfiddle.net/use/embedding.html
When I save or return the value of a MaskedTextBox, it sends the value including the masked. Mask: (000) 000-0000 User Enters: 3331112222 Value: (333) 111-2222 Expected Value: 3331112222 I think it should only send what the user entered and not include the mask. Right now I have to manually remove all of the mask characters from the value. It should only display the value with the mask, not store it.
Right now, Kendo's angular support is beautiful, but I found a majorly lacking feature. By default, you can bind to either the ng-model or k-ng-model to get the value from a widget. But there are a number of widgets that have a dataItem() function for returning the actual object stored. This is extremely useful, and I use it a lot in everyday coding. While I can overload the change(e) function, it would be REALLY awesome if retrieving this and binding it back to the $scope was built in. I have a demo directive written to show you how I am accomplishing this right now, but it would sure be nice to have it baked right in. Since the uservoice portal does not allow markdown or formatting syntax, I am linking you a pastebin so you can see the code I created. http://pastebin.com/rM288qJK This is certainly not bulletproof, but here is how I use it; <select kendo-drop-down-list k-options="kendoDropDownListOptions" k-data-item="Model.Group"></select> I sure would appreciate a more native approach, though. I don't enjoy having to go around Kendo's back to do this, when it really should be baked right in. The function is provided out of the box, there's no reason not to allow for it! This would easily be done by adding a bit of code to line 375 in kendo.angular.js, as an OUT3 case outcome. I have successfully gotten to the function in question in that part of kendo by using widget.element.data().dataItem(), but that is a pretty hacky way to do it. I'm sure that the actual devs could find a much smarter way to get to it.
Right now on a mobile device it will put just what it needs into the overflow box. I would like to see the ability to force everything into the overflow when it is activated at all.