Consider implementing logic that strips js comments from the Kendo templates.
If the following js function is added into the Grid's custom popup editor:
<script>
//some comment
(function () {
alert(1)
})();
</script>
<script>
/*some comment*/
(function () {
alert(1)
})();
</script>
EditorViewData does not work for popup edit mode. But there are situations where we need to pass view data for a specific editor, like we can in InCell and InLine edit modes. Unfortunately there is currently no easy way to do this.
It has been suggested to use AdditionalViewData or create a custom popup editor, but AdditionalViewData values would be the same for each widget inside the popup editor, and creating a custom popup editor for each and every grid we use would be cumbersome. So I ask that you please seriously consider this feature request.
-Steven
Hello,
During the completion of my ticket (1556993) it was suggested I request a feature and explain its purpose.
The a large grants accounting system I've built, management has requested the ability to control access to, and apply permission upon pages and features within the site.
For example, in the Federal Grants page with a grid using popup template editor, I need to limit display of the default create button, while displaying the rest of the toolbar.
Similarly, I to limit display of the edit and delete buttons individually.
I'm applying such constraints using custom roles with user membership in each roles.
Hi Team,
I would like to request the functionality to configure the FilterDescriptor's Member as a List rather than a field.
Thank you!
Hello,
I want to be able to right-click on a specific row-column and filter the rows using the value that appears from that row-column combination.
Instead of only having the filtering ability on the top of the column, have a way to filter a column in the middle by using, for example, the mouse right-click.
Regards,
Nuno Araújo
Hi Team,
I'd like to request the functionality to directly include encrypted user credentials within the nuget.config. I understand it is a limitation currently, but I would like to see change potentially in the future.
Thank you!
Hi Team,
We need a solution for the below issue
On Telerik grid when we do filter options (server side) on multiple columns the grid adding the
SQL keywords in filter logic like “and, or, where “like…
Our WAF (web application firewall) is stopping these keyworks as part of the application security.
We have created a ticket on this issue (Support ID:1584292) , support team has provided some custom solutions but
Those are not working.
Can we have any feature in the grid which can do encryption of SQL keywords while passing it
To the server.
Thank you.
Hi Team,
I would like to request a way to set all UI for ASP.NET MVC components to deferred without using the deferred() method for each individual component.
Thank you!
Currently, the groupPaging is not supported and is missing in WebApiDataSourceRequestModelBinder, thus enabling groupPaging leads to undesired behavior with the following Grid configuration:
$("#grid").kendoGrid({
dataSource: {
type: "webapi",
pageSize: 50,
page: 1,
groupPaging: true,
total: 0,
serverPaging: true,
serverSorting: true,
serverFiltering: true,
serverGrouping: true,
serverAggregates: true,
group: {
field: "SomeText",
dir: "desc"
},
transport: {
read: "Url..."
},
schema: {
data: "Data",
total: "Total",
errors: "Errors",
model: {
id: "SomeId",
fields: {
SomeId: { type: "number" },
SomeText: {type: "string" },
SomeDate: { type: "date" } } } } },
sortable: true,
filterable: true,
pageable: true,
columns: [ { field: "SomeId"}, { field: "SomeText"}, { field: "SomeDate"} ]
});
There are cases where we observe JavaScript errors, and the experience is like opening the Developer Tool in the browser and check the log in the Console. When the problem resides on the user, it is not easy to guide them to perform this action. To overcome this problem, there is a need for JavaScript error collector function. When we call this function, it should collect all JavaScript error log files and send them as a list. Then the developer would be able to use it to troubleshoot issues and also could implement interface like collect and store JavaScript error log files. It is recommended the error collector support the following data:
Location: the page leads to error.
Date and Time: with ability to customize it like set a time zone or default to match server.
Error message: Complete error message in the client
User: In case user login to the page
Browser-Agent Data: information about user's browser, operating system ...
In default ASP.net MVC, you have option to generate View from the EF, here is one example:
Tutorial: Generate views for EF Database First with ASP.NET MVC app | Microsoft Learn
I am looking for a similar option like we could right click and open wizard for Telerik ASP.net MVC and then select the EF and follow steps to generate a View such as form or grid. It also should generate required controller and should be smart like based on the data type creates the required field (e.g. date picker when data type is date) and the user could customize it after that.
Similar functionality already exists in the ASP.net MVC and it would be nice to have such a wizard for the Telerik too. I saw a similar one for Telerik for AJAX but it is not advance and I am looking for something simple and quick in Telerik.
This problem raised in the community and it is challenging for developers to fix. Let say, I define the model for datetime as follow:
[DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)]
public DateTime CustomDate{ get; set; }
When we call it in the View and add a code for the Html.Kendo().DatePicker() , then it should follow the format of the model. Currently, DateTime will ignore our defined method model and we have to go and change globalization and some additional code for it to work. The expected result is Kendo DatePicker must adapt whatever we define in ASP.net MVC model without need to make any additional change.
Good Day,
We would like to submit a feature request to add a handler method for the `HasChildren` property of a HierarchicalDatasource for the MVC Wrappers. It currently only supports a string field name even though the Javascript api can handle a function. We are currently working around this by using the wrapper to define our widget, and then in a kendo.syncready we are creating a datasource and then using setOptions of the widget to achieve the same effect, which should be in the wrapper already.
Example code snippet:
<script>
kendo.syncReady(function() {
let panelBar = jQuery("#@panelBarId").getKendoPanelBar();
if (!panelBar) {
return;
}
var ds = new kendo.data.HierarchicalDataSource({
transport: {
read: {
url: '@Url.Action("LoadPanelBarResults", "Home")',
data: function (){
return resultsPanelbarData('@Html.Raw(searchTagString)', '@Html.Raw(parentTagString)');
}
}
},
schema: {
model: {
id: 'IdString',
hasChildren: hasChildrenFunction
}
}
});
panelBar.setOptions({dataSource: ds});
});
</script>
We hope this request is clear, let us know if there are any questions of the use of this scenario.
Thankyou for your time,
Regards,
Nathan
There is a Kendo Validation in addition to ASP.net MVC one.
There is a need for a method or script to disable the Kendo Validation and enforce the code to follow rules we define in the model.
Currently we have to write validation bypass script for each field, but I am looking for a way to disable Kendo Validations for the entire project or/and for specific page and it follows validation rules from the MVC model.
In most cases, validations from the MVC are sufficient and there is no need for redundance validations from the telerik.
Currently, when you load a different Kendo theme on the page, the colors in the Charts and Gauges do not change and the components remain styled based on the originally loaded theme. In order for them to be styled by the new theme, the page must be reloaded.
It would be best, if the page reload can be avoided. For example, a method similar to the existing redraw() method could be implemented and it should be capable of detecting the currently loaded theme and redrawing the components accordingly.
I would recommend that you look at your MVC and ASP.NET core products and try to build some consistency.
When I learn one component, I kind of expect other similar components to be close to the others. For instance TreeList and Grid both have toolbars, yet the builders use different capitalizations for their names. Treelist and Grid both have editable settings, but Treelist does not have the method AdditionalViewData.
There are many more inconsistency that make these components really hard to use.