Problem Statement: Unable to set the Filterable operators instead of default's in Tree List .Net Core.
When i add the below to the TreeList :
(f => f
.Operators(op => op
.ForString(str => str.Clear()
.DoesNotContain("Does not contain")
.IsEqualTo("Is equal to")
.IsNotEqualTo("Is not equal to")
Severity Code Description Project File Line Suppression State
Error CS1061 'TreeListFilterableSettingsBuilder<dynamic>' does not contain a definition for 'Operators' and no accessible extension method 'Operators' accepting a first argument of type 'TreeListFilterableSettingsBuilder<dynamic>' could be found (are you missing a using directive or an assembly reference?) MSA_Client_Portal C:\Users\anilc\source\repos\Client Portal - NEW\src\MSA_Client_Portal\Views\LegislationSection\LegislationTree.cshtml 90 Active
Would like to request to bind Treelist from Datatable with dynamic type
And Totreedatasocure to accomidate for dynamic datatable rather tha at row of static table.
I am using MongoDb database and storing much of the data as complex objects.
So the addresses are not stored in normalised tables such as you would have in a typical sql setup
Also I am using Razor pages and not using view models but binding to page model properties
mostly matching the database document.
One thing I am wanting to do is make the best of such a plan as it saves a lot of coding time.
If I have a telerik control such as a dropdownlist you would typically return an Id and keep the Id
in the database table. However in the new style of document database it is common to store
the entire object and not just the Id so the problem is if the control returns only the Id then
the developer has to obtain the rest of the object to store away adding the the complexity of the code.
Telerik allows very easy binding of an object to a control and the whole object remains available to use
such as in a dropdownlist to show a name and return say the Id.
An improvement for those using Document style databases with denormalised data would be the option
to simply return the whole object.
So in addition to DataValueField have something like DataReturnObject(true) or something like that
which would send back all the data for the item which you already have sitting right there.
This would very nicely serialise into the pagemodel complex object property and allow proper model validation
which is a problem when you return an Id but the property expects the full object.
I understand all this can be overcome but just a little tweaking by Telerik would be a significant benefit
where your customers are using document style databases such as MongoDb and Azure Cosmos
1 That is my suggestion.
2 Can I currently achieve this somehow?
Implement Recurrence Rule Parser helper that uses the Scheduler recurrenceRule string and parses it in a usable format on the server.
There is already a similar helper for Telerik UI for ASP.NET Ajax.
When a model property is decorated with data annotation attributes, the RadioButton HtmlHelper does not properly render the data-val and data-val-required attributes on the element.
Expected behavior: Data attributes should be successfully rendered on the <input> element.
I was wanting to create a multiselect filter inside the kendo grid that will filter an array column, NOT a simple string column. Just adding the .Filterable(ftb => ftb.Multi(true)) does display a basic 'multiselect' with just checkboxes in it, which is not ideal , but does work. But, when you click filter, the grid becomes empty. I had to use a clienttemplate() function, to return an html object like so:
My column is:
the code for the foreign key doesn't make much sense as it's an array column, but that was pointed to by telerik support on other forum posts.
So, there must be a way to hook into that column and run some custom code to return to the grid the filtered values? i've seen examples for jquery, and mvc, but theres nothing for .net core. This should just work out of the box, as I don't think this is an uncommon need. Could you give me an example or point me in the right direction?
Trying to attach an event to the Core Sparkline wrapper like this:@(Html.Kendo().Sparkline()
leads to a compilation error:
Error CS0121 The call is ambiguous between the following methods or properties: 'SparklineBuilder<T>.Events(Action<ChartEventBuilder>)' and 'SparklineBuilder<T>.Events(Action<SparklineEventBuilder>)'
While browsing the new components of UI for Asp Core, I found an Issue in the provided online sample (https://demos.telerik.com/aspnet-core/ripplecontainer/index)
After transferring and moving items between the lists of "RIPPLE ON LIST ITEMS", the list display the raw HTML of the items. So, I provided a screen record reproducing the issue (https://pasteboard.co/I7Fx0AW.gif).
The Menu TagHelper does not render correct links for its items when the asp-page attribute is used.
With area it does not render a link at all:
<menu-item text="Home" asp-area="Products" asp-controller="Home" asp-action="About"></menu-item>
Without area it renders an incorrect link
<menu-item text="Login" asp-area="Products" asp-page="/Books"></menu-item>
Hi Kendo Team,
I am working on Kendo UI ASP.NET Core Grid binding with SignalR. But while starting Hub and providing the Promise, I am facing an error "The "promise" option must be a Promise."
I am following this URL for reference: https://demos.telerik.com/aspnet-core/grid/signalr .
In this link, when clicking on "Open In Dojo" button, it opens a new window, then clicks on the Run button. It will generate an error in the console "Uncaught Error: The "promise" option must be a Promise.".
Please check the attached snapshot.
Please reply asap. Thanks in advance!
I'm currently evaluating the ASP .Net Core Components and whilst I'm liking it so far, I have to say - the documentation leaves a lot to be desired.
At the moment, I am trying to use grid and looking at documentation, I have no idea if I am meant to be looking in Kendo.Mvc.UI.Fluent or Kendo.Mvc.UI - and when I am there and find an item, there just isn't enough detail. In addition, the demos section appears to actually be more helpful and I'm constantly looking there.
What caused me to write this is that I have simply enabled GridFilterMode.Row on an instance and whilst I like it, I want to change the default from "Is Equal To" to "Contains"... I have been experimenting for the past few hours without any luck and I'm going round in circles on documentation:
I can see that Filterable requires GridFilterMode, but the documentation is lacking - https://docs.telerik.com/aspnet-core/api/Kendo.Mvc.UI/GridFilterMode#kendomvcuigridfiltermode
I then try to find the filterable modes documentation, but, half the features/methods just don't seem to have any affect whatsoever.
Personally, I'm having great luck learning about your components from the demo section and adapting the code to suite my needs - but, if there isn't a demo, it appears to be a very hard task to learn what is and isn't possible.
When certain options of the editable Window are set through configuration, they are not being serialized correctly:
Events (Open, Close, etc.)
For computations in a custom aggregate function it would be very helpful to have the start and end DateTimes for the current category at hand. Right now the category parameter just provides a single DateTime which is the start DateTime of the category. The end DateTime can only be calculated with a workaround provided by Tsvetina
(see this ticket: https://www.telerik.com/account/support-tickets/view-ticket/1386149)