Unplanned
Last Updated: 26 Jan 2023 22:28 by Paul
Created by: Paul
Comments: 0
Category: UI for ASP.NET MVC
Type: Feature Request
0

Hi Team,

I would like to suggest that Progress/DevTools creates a SSO authentication service.   I'll elaborate further with more details.

Thank you!

Need More Info
Last Updated: 25 Jan 2023 16:19 by ADMIN
Created by: Chris
Comments: 1
Category: UI for ASP.NET MVC
Type: Bug Report
0

I have a cshtml page that uses Kendo UI ASP.NET MVC that does the following:

  • sends an ajax request to a controller action method,
  • opens a new tab using window.open(),
  • displays a temporary message to let the user know that something is happening,
  • then overwrite the new tab content using the view that is contained in the ajax response.

The view contains one or more grid widgets (the number depends on how many result types were requested) and each grid is set up to export Excel.

The problem is that when window.open() is used to open a new tab, the browser history state is null and the window.location.href is empty with the browser location showing "about:blank". For Chrome and Firefox, this does not cause any issues when exporting excel for the grid.  However, when using Edge with this situation, when the Export to Excel grid toolbar button is clicked and the onExportExcel event is fired,  the browser Open or Save dialog prompt is displayed but the active tab (the one that contained the grid) closes. This behaviour is very undesireable. The ProxyUrl grid excel option does not fire since Edge supports javascript file saving.

A workaround for this situation is to forcibly set the new tab window object location href by using the window.history.pushUpdate function. A code snippet is included below.


let dataModel = {Id = 123571113, Name="jason bourne"};
let jsonModel = JSON.stringify(dataModel);
let curDate = new Date();
let targetUrl = '@Url.Action("Reports", "Report", new { @area = "Reports" })';
let targetWindowName = "something meaningful" + " " + curDate.toISOString();//add datetime stamp to avoid issue where you cannot open a window with the same name as the current window.
let html = "some html content to provide a temporary message to your audience";
let targetWindow = window.open(targetUrl, targetWindowName);
if (targetWindow !== null && targetWindow !== undefined)
{
   targetWindow.document.write(html);
   targetWindow.document.close(); // to finish loading the page
   targetWindow.document.title = targetWindowName;

   //attempt to forcibly update the URL in the history and target window location to fix problem with grid export to excel on Edge browser
   let targetWindowHistoryHref = window.location.href;
   if (oModel.BuildingDesigns !== null && oModel.BuildingDesigns !== undefined && oModel.BuildingDesigns.length > 0) {
       targetWindowHistoryHref += "?oBuildingDesignId=" + oModel.BuildingDesigns[0].ObfuscatedBuildingDesignId + "&BuildingDesignName=" + oModel.BuildingDesigns[0].BuildingDesignName;
   } else {
       targetWindowHistoryHref += "?" + oModel.Target;
   }
   targetWindow.history.pushState(null, null, targetWindowHistoryHref);
}
$.when(
	$.ajax({
		type: "POST",
		dataType: "html", // this is the data type expected to be returned from the controller method
		contentType: "application/json", // this is the content type expected by the controller method
		url: targetUrl,
		data: jsonModel,
		beforeSend: function() {
			console.log(".... submitting report request");
			athena.loader.loading("submitting report request");
		},
		success: function(response) {
			athena.loader.stopLoading();
			if (debugLevel > 2) {
				console.log(".... response = " + response + " : ", response);
			}

			//attempt to populate the target browser tab with the response
			try {
				console.log(".... attempting to open a browser tab and populate it with the HTML response object");
				console.log(".... targetWindow = " + targetWindow);
				//will trigger popup blockers :: targetWindow = window.open("", oModel.Target);
				if (targetWindow !== null) {
					if (response === null || response === undefined) {
						targetWindow.document.body.innerHTML = '';
					} else {
						//completely replace the existing document (not just the innerhtml)
						targetWindow.document.open();
						targetWindow.document.write(response);
						targetWindow.document.close();
						targetWindow.document.title = targetWindowName;
					}
				}
			} catch (ex) {
				// do nothing, just catch when the open fails.
				console.log("error: " + ex.message);
			}
		},
		error: function(jqXhr, textStatus, errorThrown) {
			console.log('.... error :: ajax status = ' + textStatus + ' :: errorThrown = ' + errorThrown);
			console.log('....-- jqXhr.responseText :: \n' + jqXhr.responseText);
		}
	})
).done(
	function() {
		console.log(".... report request has completed");
		targetWindow.focus();
	}
);

Unplanned
Last Updated: 24 Jan 2023 15:32 by Joey
Created by: Joey
Comments: 0
Category: UI for ASP.NET MVC
Type: Feature Request
1
In KendoReact it is possible to merge rows in the Grid. I need the same functionality in the UI for ASP.NET MVC Grid.
Unplanned
Last Updated: 20 Jan 2023 13:26 by Filippo

Bug report

Regression in R1 2023.

Reproduction of the problem

  1. Set the following HtmlAttributes configuration in a Grid column:
columns.Bound(p => p.OrderDate).HtmlAttributes(new { title = "Order Date: #=kendo.toString(OrderDate, 'dd-MM-yyyy')# " });

Current behavior

kendo.toString is not executed and as a result the date is not formatted. The exact value of the title attribute, as shown above is rendered as title of the cell.

Expected/desired behavior

The logic is executed and the OrderDate value is rendered in the title with the specified format.

Environment

  • Kendo UI version: 2023.1.117
  • jQuery version: x.y
  • Browser: [all]
In Development
Last Updated: 18 Jan 2023 09:45 by ADMIN
Scheduled for R2.2023-Increment.1(01.Mar.2023)

Bug report

Reproduction of the problem

  1. Visual Studio 2019 version 16.8.3 (or another version the extension works with)
  2. Install the Scaffolder extension.
  3. In a sample Terlerik ASP.NET MVC Application verify that the Kendo Scaffolder and its configuration panel work as expected.
  4. Update Visual Studio to version 16.9.2.

Current behavior

The Kendo Scaffolder is no longer available in the Add New Scaffolded Item dialog.

Expected/desired behavior

The Kendo Scaffolder works as intended.

Environment

  • Kendo UI version: 2021.1.224
  • jQuery version: x.y
  • Browser: [all]
Unplanned
Last Updated: 14 Jan 2023 06:54 by Vladislav
Created by: Victor
Comments: 13
Category: UI for ASP.NET MVC
Type: Feature Request
24
The Grid should allow switching between case sensitive and case insensitive filtering.
Unplanned
Last Updated: 14 Dec 2022 11:00 by GL

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"} ] 
      });


 

Pending Review
Last Updated: 13 Dec 2022 13:42 by Steven
Created by: Steven
Comments: 0
Category: UI for ASP.NET MVC
Type: Feature Request
0

My understanding after talking to support is that a grid with a popup editor has code behind the scenes that stops adverse scrolling behavior when the popup window closes.  However, under certain circumstances, this doesn't work if you have a grid nested in your popup editor that also has a popup editor.  As it was described to me, this "behavior is not directly related to the Grid, but the Kendo Window. Generally, it provides the preventScroll property, but I am afraid this scenario is more complex due to the window being internally embedded into the Grid".

The exact scenario I found was that if you shrink you browser window small enough that you need to use some scrolling, scroll down your grid a little, then do something to cause the popup editor to open.  Scroll down again to get to your nested grid, open that popup editor, then close it.  The browser then auto scrolls to the top.

I was given this code to fix the issue (and it DOES fix it):

<script>
    kendo.ui.Grid.fn._destroyEditableOrg = kendo.ui.Grid.fn._destroyEditable;
    kendo.ui.Grid.fn._destroyEditable = function () {
        var that = this;
        if (that._editContainer) {
            var kw = that._editContainer.data().kendoWindow;
            kw.setOptions({
                modal: false
            });
        }
        that._destroyEditableOrg();
    };
</script>

The problem is that these fields aren't documented... I would never have figured this out on my own.  So my feature request is that either this behavior is fixed or these properties exposed from the Grid settings.  

-Steven

PS: For Telerik, the original ticket was 1589389.

Under Review
Last Updated: 13 Dec 2022 11:19 by ADMIN
Created by: Paul
Comments: 3
Category: UI for ASP.NET MVC
Type: Feature Request
0

I have a Kendo Notification component on my page. When the page loads, it is possible a notification needs to show immediately. This fails because the Notification component is not ready yet. Even putting this message show inside a document.ready() call does not work. There’s no rendered event on this component to know when Kendo has it added to the DOM and it is accessible. So I ended up creating an array of messages to show. And running a setInterval block on page load until it is ready to go. Then clearing the interval and message array. It’s a work around but it is hacky and it would be better if I could subscribe to an event that tells me when the notification component can be used.

Unplanned
Last Updated: 12 Dec 2022 17:03 by ADMIN
Created by: Paul
Comments: 3
Category: UI for ASP.NET MVC
Type: Bug Report
0

Please note the following MVC code:

Bug 1: The Window should have the top set by the Top() method. It does not. 

Bug 2: The Window should have the top set by the HtmlAttributes() method. That does not work either. 

Bug 3: The scrollable method also does nothing to the window. So this entire line seems to be omitted.

Bug 4: The window is supposed to be centered by the Kendo native code. It isn’t. The recurring editor div element is not shown until after the window centers. So the window generates, centers on the screen, then the recurring DIV is shown which expands the window downwards, then the window is shown. This makes it go off the bottom of the screen. I didn’t need vertical center anyways so I fixed this by setting the top to 40px. Which is when I ran into the above issues. However if I was not doing this, the center() issue would still be there. I fixed this in JavaScript on the event’s edit event.

Unplanned
Last Updated: 07 Dec 2022 17:30 by Mahesh
Created by: Mahesh
Comments: 0
Category: UI for ASP.NET MVC
Type: Feature Request
1

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!

Unplanned
Last Updated: 28 Nov 2022 08:16 by ADMIN

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.

Unplanned
Last Updated: 28 Oct 2022 09:19 by ADMIN

Reproduction of the problem

  1. Set a class in the TileLayout's HtmlAttributes, e.g.,
.HtmlAttributes(new { @class = "test" })
  1. Inspect the rendering of the component.

Current behavior

The custom class is not applied to the TileLayout.

Expected/desired behavior

The custom class is applied to the TileLayout along with the pre-defined Kendo classes.

Unplanned
Last Updated: 27 Oct 2022 12:40 by Teagan
Created by: Teagan
Comments: 0
Category: UI for ASP.NET MVC
Type: Feature Request
2

Font Awesome has an icon stacking feature: https://fontawesome.com/docs/web/style/stack It allows easier alignment, size and color customization of sets of icons. It would be nice, if a similar functionality is implemented for the Kendo UI web font icons.

 

Pending Review
Last Updated: 23 Oct 2022 12:46 by L John
The title Toolbar Comannds and right above it a link to Breacrumb
Unplanned
Last Updated: 05 Oct 2022 08:21 by ADMIN
Created by: Sarah
Comments: 1
Category: UI for ASP.NET MVC
Type: Feature Request
5

In the Text Editor, I would like to suggest an upgrade to "Insert hyperlink". It would be great if you would split out the prefix from the address and have a selector that allows the user to choose website, email, or phone. Selector: Website/Email/Phone Address:sales@kendoui.com Text: Kendo UI Tooltip: Click Here Open Link in new window: No Results: <a href="http://www.kendoui.com">Kendo UI</a> <a href="mailto:sales@kendoui.com">Kendo UI</a> <a href="tel:8883652779">Kendo UI</a>

I believe your Ajax editor does this already, so can it please be added to the MVC one?

Also, we have just moved from a different editor to Telerik's, and the previous one did have this feature. Thanks!

Completed
Last Updated: 29 Sep 2022 14:54 by ADMIN
Release R1.2023-Increment.1(09.Nov.2022)

Bug report

Not reproducible with Sass themes.

Reproduction of the problem

https://dojo.telerik.com/ejaVeZUD/7

Current behavior

Map custom markers are not positioned correctly when zooming out using 'Less' themes

Expected/desired behavior

Markers are positioned correctly when zooming out.

Environment

  • Kendo UI version: 2021.3.1109
  • jQuery version: x.y
  • Browser: [all]
Unplanned
Last Updated: 28 Sep 2022 06:18 by Yanislav
Created by: SAA
Comments: 1
Category: UI for ASP.NET MVC
Type: Feature Request
1
Currently, the API does not expose functionality that enables the user to rotate images. It would be useful if you can add such a tool in the toolbar that allows image rotation. 
Need More Info
Last Updated: 26 Jul 2022 09:10 by ADMIN
Created by: Marcel
Comments: 1
Category: UI for ASP.NET MVC
Type: Feature Request
0

I'm using the ClientTemplate-Feature to render buttons for CRUD-actions in grids. For one entity I have to use a TreeList instead of a Grid due to parent-child relations. It would be great if I could use the same templates I use for the grid for the treelist as well.

Example:

columns.Bound(x => x.UserName)
        .ClientTemplate("<a href='" + Url.Admin().Account() + "/#= Id#/edit'>#= UserName #</a>")
        .Width(300);
Unplanned
Last Updated: 05 Jul 2022 08:20 by Holger
Created by: Holger
Comments: 0
Category: UI for ASP.NET MVC
Type: Feature Request
2
I have the following scenario:
I am using an ASP.NET MVC application with WebPack and Javascript modules. To initialize the Kendo components I embed the deferred scripts in a javascript function, which is then called by the JS view model. 

My problem is: Kendo registers the initialization scripts through the SyncReady function, which is then called asynchronously on the document.ready event. But there is no way to configure the controls after initialization in the javascript. So e.g. an OnAfterInit event or similar. For controls like the TileLayout this is very annoying, because no user gets the idea to click a button to load the "right" layout. But surely the other controls would also benefit from such an event. Also a global entry point after processing "syncReady" would be useful.
1 2 3 4 5 6