Completed
Last Updated: 22 Jan 2021 15:39 by ADMIN
Created by: Dave
Comments: 6
Category: Grid
Type: Feature Request
8

Hello, 

 

I think there is a bug with the DataTimeOffset field when used in a Grid. It cannot display correctly and is showing something like /Date(1364927400000)/. I have to retrieve my data from database as DateTimeOffset format and then use a new ViewModel to convert the DateTimeOffset values to DateTime values. This is really annoying.

 

Could you let me know if there is a way a DateTimeOffset field can be supported in the grid? Sometimes you do have to display the time zone info.

 

I hope this can be fixed in a future release.

 

Thanks,

Sam

Completed
Last Updated: 21 Jan 2021 08:56 by ADMIN
Created by: Bob
Comments: 1
Category: Installer and VS Extensions
Type: Bug Report
0

I just upgraded to the latest Telerik version.  First of all, congratulations on a job well done on the MVC Project Upgrade Wizard!  With version 2017.3.1026 it was unreliable, took hours to run, and generally locked up Visual Studio; the new version runs cleanly and quickly.

One comment:  The popup dialogs for the Upgrade Wizard do not adapt to different screen resolutions.  I see this where my primary display is high resolution (3840 x 2160) and the secondary is lower res (1920 x 1080).  The effect is that the popup dialogs are cropped if Visual Studio is running on the secondary display:  the message ("file xxx exists; do you want to overwrite?") appears, but the Yes/No buttons and "apply to all files" checkbox do not.  The only actionable option is to kill the dialog, at which point the next one pops up.  The only way I found to stop the Wizard is to kill Visual Studio through the Task Manager. 

The Wizard works perfectly on the primary high-res display.

Bob

Completed
Last Updated: 21 Jan 2021 08:09 by ADMIN
Created by: Nick
Comments: 1
Category: UI for ASP.NET MVC
Type: Feature Request
8
c.Bound( o => o.Complex.Property )

This throws a js exception when o.Complex is null. The grid fails to render when certain data is bound.

c.Bound( o => o.Complex == null ? null : o.Complex.Property )

This throws a .NET InvalidOperationException : "Bound columns require a field or property access expression"
Completed
Last Updated: 21 Jan 2021 06:55 by ADMIN
Created by: Imported User
Comments: 2
Category: UI for ASP.NET MVC
Type: Feature Request
9
We all know that the default JavascriptSerializer built into ASP.NET leaves much to be desired, which is why developers are swapping out the built in one from ASP.NET for others such as JSON.NET and ServiceStack.

The issue that a lot of developers encounter when working with the MVC Wrappers is that it appears to be using the build in JavascriptSerializer, which is miserably slow and hard to work with when trying to take data from an ORM (with navigation properties) and display it on the Grid. Most of our grids closely represent a table in our database, but because the JavascriptSerializer doesn't support any type of navigation properties, we are always forced to write some DTO that flattens the object out to contain just simple datatype properties.

If we could REPLACE the JavascriptSerializer with our own framework - such as JSON.NET or ServiceStack, then we would be able to get our job done a lot faster without the extra plumbing.

This feature would mean that this "known issue" could be resolved by people simply swapping the JavascriptSerializer for a better one: 
http://docs.kendoui.com/getting-started/using-kendo-with/aspnet-mvc/helpers/grid/troubleshooting#a-circular-reference-was-detected-while-serializing-an-object-of-type
Completed
Last Updated: 21 Jan 2021 06:38 by ADMIN
Created by: Joe
Comments: 1
Category: UI for ASP.NET MVC
Type: Feature Request
12
Expanding (or at least re-requesting) the improvement requested here http://kendoui-feedback.telerik.com/forums/127393-telerik-kendo-ui-feedback/suggestions/2245003-provide-visual-studio-intellisense-support-all-aro as I dont believe "all around" was delivered at Q2 2012. The many attributes and control tags that kendo supplies is not in intellisense in the HTML pages as you write them, angular does it so I'm fairly certain it's doable for Kendo too...
Completed
Last Updated: 20 Jan 2021 12:29 by ADMIN

I'm trying to create a kendo grid inside of a kendo splitter in ASP.Net MVC. My problem is the pager info (i.e. "1 of 20 items") is not displayed on load. If the splitter is moved or a button inside of the splitter is pressed the grid resizes and the pager is displayed correctly. When there are more than 10 pages and the pager numbers and pager info size change to accommodate more digits the pager wrapper is not drawn correctly every time when changing pages.  This issue seems to only be present when the grid has a toolbar

I have tried using the dataBound event to resize the grid elements, but the pager div is not computed yet. I also tried applying a flex box to the pager wrapper and that did not change anything. I added a size to the splitter and it fixed the issue when set to 400px. But when set to something like 33% the issue persists. I need the splitter pane to be bigger than 400px on load so that fix does not work. 

I replicated the issue in this dojo: https://dojo.telerik.com/URIbinEY/12. The issue appears when in fullscreen mode on a 1920x1080 monitor. I have attached screen shots from my application showing the issue while navigating with the pager. paging 1.png shows the initial load fixed using a flex-box. paging 2.png shows navigating to the second page. The pager info is resized and moved off screen. paging 1.2 shows navigating back to page 1. There is a white space left at the bottom. Paging 3 shows the end of the pages. Paging 4 shows clicking the "..." to the previous paging page and the pager info being hidden. Paging inspected shows that the pager info is in the DOM, but resized off the screen when the toolbar is drawn. 

The expected result should show the pager info on load and the grid should fill 100% of the splitter pane. The pager info should be adjusted when navigating to another page in the pager to always be displayed. 

Any help with this issue will be much appreciated. Thanks!

Completed
Last Updated: 20 Jan 2021 12:27 by ADMIN

When I use a grid, I can enable Filterable and the column shows me when I am filtering it; however if I enable ColumnMenu I have no indication if I am filtering on that column.  We've used a work around to handle this state ourselves, but its ugly and I think this should be part of the core product.

@(Html.Kendo().Grid<ShipmentGrid>()
  .Name("grid")
  .AutoBind(false)
  .Columns(columns =>
  {
  columns.Template(@<text></text>).Width(50).Title("PDFs").ClientTemplate($"<a href='javascript:" + jsPage + $".openDocumentWindow(#=AccountId#, #=OrderNumber#, #=OrderLineId#, #=OrderLineNumber#)'><img src={Url.Content("~/Content/images/pdficon_small.png")} /></a>");
  columns.Bound(m => m.CustomerName).Width(200).Title("Customer").HeaderTemplate("Customer <span style='float:center' class='k-icon k-i-filter'></span>").Filterable(f => f.Multi(true).Search(true)).Sortable(true);
  columns.Bound(m => m.PurchaseOrderNumber).Width(100).Title("PO").HeaderTemplate("PO <span style='float:center' class='k-icon k-i-filter'></span>").Filterable(f => f.Multi(true).Search(true)).Sortable(true);
  })
  .HtmlAttributes(new { style = "font-size:0.85em;" })
  .Filterable()
  .ColumnMenu()
  .Reorderable(reorder => reorder.Columns(true))
  .Resizable(r => r.Columns(true))
  .Scrollable(s => s.Height(340))
  .Pageable(pageable => pageable
  .Refresh(true).ButtonCount(10)
  .PageSizes(new [] { 25, 250, 2500 })
)
  .Sortable(sortable => sortable
  .SortMode(GridSortMode.SingleColumn)
)
  .ClientDetailTemplateId("itemdetail")
  .DataSource(dataSource => dataSource
  .Ajax()
  .Read(read => read.Url("/api/shipments").Data(jsPage + ".getParameters"))
  .PageSize(2500)
  .ServerOperation(false)
  .Events(events => events
  .Error(jsPage + ".GridService.onError")
  .RequestStart(jsPage + ".GridService.onRequestStart")
  .RequestEnd(jsPage + ".GridService.onRequestEnd")
)
)
  .NoRecords()
  .Events(events => events.DataBound(jsPage + ".onDataBound"))
)

Completed
Last Updated: 20 Jan 2021 12:24 by ADMIN
Created by: Maurice
Comments: 1
Category: NumericTextBox
Type: Feature Request
0

The ability to mask/encrypt the social security number and or credit card number, only showing the last 4. On focus, show all values on blur encrypt value showing only last 4. On post, send unencrypted value.

i.e. social security:  XXX-XX-1234

Completed
Last Updated: 20 Jan 2021 12:21 by ADMIN
Created by: Stacy
Comments: 2
Category: UI for ASP.NET MVC
Type: Bug Report
3

Using Visual Studio Enterprise 16.0.0.

Created MVC Project 4.6.1

Run Telerik utility to "Convert to Telerik Web Application" from Project context menu. On a clean project just created from the VS Template.

 

Error output from from Telerik VSX:


An error occurred while running the wizard.

 

Error executing custom action Telerik.KendoUI.Mvc.VSX.Actions.UpdateWebConfigAction: Could not instantiate a TextTransformation object from the compiled assembly. The following Exception was thrown:

System.InvalidCastException: Unable to cast object of type 'Microsoft.VisualStudio.TextTemplating1fd31dc42b754a598ac1cf6e6d72e8f7.GeneratedTextTransformation' to type 'Microsoft.VisualStudio.TextTemplating.TextTransformation'.

   at Microsoft.VisualStudio.TextTemplating.TransformationRunner.CreateTextTransformation(String fullClassName, ITextTemplatingEngineHost host, Assembly assembly, ITextTemplatingSession userSession)
Web.config as generated by VS 2019 MVC project Template


<?xml version="1.0" encoding="utf-8"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  https://go.microsoft.com/fwlink/?LinkId=301879
  -->
<configuration>
  <appSettings>
    <add key="webpages:Version" value="3.0.0.0"/>
    <add key="webpages:Enabled" value="false"/>
    <add key="ClientValidationEnabled" value="true"/>
    <add key="UnobtrusiveJavaScriptEnabled" value="true"/>
  </appSettings>
  <system.web>
    <compilation debug="true" targetFramework="4.6.1"/>
    <httpRuntime targetFramework="4.6.1"/>
    <authentication mode="Windows"/>
    <authorization>
      <deny users="?"/>
    </authorization>
  </system.web>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f"/>
        <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35"/>
        <bindingRedirect oldVersion="0.0.0.0-1.1.0.0" newVersion="1.1.0.0"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35"/>
        <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed"/>
        <bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
        <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
        <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
        <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
  <system.codedom>
    <compilers>
      <compiler language="c#;cs;csharp" extension=".cs"
        type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
        warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701"/>
      <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb"
        type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
        warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+"/>
    </compilers>
  </system.codedom>
</configuration>

Completed
Last Updated: 20 Jan 2021 12:18 by ADMIN
Created by: Vinay
Comments: 1
Category: Grid
Type: Feature Request
0

Hi Viktor,

 

We are looking for functionality of Context Menu on Columns of Kendo MVC grid.

We want various column selection on grid header.

Please help us to get this feature.

Regards

Supriya

 

 

Completed
Last Updated: 20 Jan 2021 12:08 by ADMIN
Created by: Tommy
Comments: 1
Category: UI for ASP.NET MVC
Type: Bug Report
0
It seems that the Kendo Grid control no longer treats null text to show as empty when using client templates for columns. Previously, if the model property reference in the client template was null (on initial add, for example), it would display empty text. Now all of our columns are showing 'null' text... Was this intended?
Completed
Last Updated: 20 Jan 2021 12:07 by ADMIN
When using data attributes on a viewmodel for a grid popup editor:
1. Provide input that causes a validation error message to appear
2. Correct the error with new input, do not blur the final field
3. Click save.
4. Instead of validating the data and submitting, only validation occurs
Completed
Last Updated: 20 Jan 2021 11:51 by ADMIN
Created by: Imported User
Comments: 1
Category: UI for ASP.NET MVC
Type: Feature Request
12
Implement the ability to define custom commands in the grid command in ajax binding.
Completed
Last Updated: 18 Jan 2021 09:09 by ADMIN
Release 2021.R1
Created by: Ken
Comments: 0
Category: PDFViewer
Type: Bug Report
5

Bug report

A server side exception:
System.OverflowException: 'Value was either too large or too small for a Double.'
is thrown on attempting to serialize an existing .pdf file converted to FixedDocument.

Reproduction of the problem

  1. Use the DPL Processing demo of the PDFViewer in the MVC demos project.
  2. Instead of the default sample.pdf load the Development Plan.pdf file provided in Ticket ID: 1467984
public ActionResult GetInitialPdf(int? pageNumber)
{
    //exception with Development plan.pdf file:
    string filePath = Path.Combine(Server.MapPath("~/Content/web/pdfViewer"), "Development Plan.pdf");
    //it works with the sample.pdf file:
    //string filePath = Path.Combine(Server.MapPath("~/App_Data"), "sample.pdf");
    FileStream stream = new FileStream(filePath, FileMode.Open, FileAccess.Read);
    JsonResult jsonResult;
    FixedDocument doc = FixedDocument.Load(stream);

    if (pageNumber == null)
    {
        jsonResult = Json(doc.ToJson(), JsonRequestBehavior.AllowGet);
    }
    else
    {
        jsonResult = Json(doc.GetPage((int)pageNumber), JsonRequestBehavior.AllowGet);
    }

    jsonResult.MaxJsonLength = int.MaxValue;
    return jsonResult;
}

Current behavior

The exception is thrown during the FixedDocument JSON serialization:

doc.ToJson()

at the following place: ConvertToList method in ArrayExtension class (Telerik.Web.PDF namespace)

Expected/desired behavior

No exceptions are thrown during serialization.

Environment

  • Kendo UI version: 2020.2.513
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 18 Jan 2021 09:09 by ADMIN
Release 2021.R1

Bug report

Regression introduced in R2 2020 SP1.

Reproduction of the problem

Reproducible with the LESS themes in the demos.

Current behavior

The textarea occupies only small part of the popup's width.

Expected/desired behavior

The textarea uses all of the popup's width.

Workaround:

.k-viewhtml-dialog .k-editor-textarea {
  width: auto;
}

Environment

  • Kendo UI version: 2020.3.1021
  • jQuery version: x.y
  • Browser: [Chrome XX | Firefox XX]
Completed
Last Updated: 13 Jan 2021 08:39 by ADMIN

Issue
If a single tag MultiSelect is blurred on filtering and then refocused, then the clear button is pressed with the dropdown open, the single tag remains even though there are no selected items.

Reproduction
1.  Run this dojo.
2.  Click on MultiSelect input and type L
3.  Click outside the MultiSelect to blur it - filter is removed.
4.  Click on MultiSelect input (dropdown opens) and press the clear button.

Current behavior
MultiSelect value is cleared. But the single tag remains visible and states that there are selected items even though there are none.

Expected/desired behavior
The single tag should be removed as shown in this Kendo UI Dojo using R3 2018.

Workaround
Handle MultiSelect's change event as follows:

            function onChange(e) {
              if(!e.sender.value().length){
                e.sender.element.closest(".k-multiselect").find(".k-button").remove();
              }
            }

Completed
Last Updated: 13 Jan 2021 08:15 by ADMIN
Created by: Devon
Comments: 1
Category: UI for ASP.NET MVC
Type: Feature Request
9
Include an x.js as well as x.min.js files in the upgrades. MVC's bundle config by default does not include the .min file in debug mode.
Completed
Last Updated: 11 Jan 2021 15:14 by ADMIN
Release 2020.R2
The old MVC grid had the option of allowing paging bar on the (top, bottom or both) please see example at http://demos.telerik.com/aspnet-mvc/razor/Grid/Paging?theme=sitefinity

I have an open support ticket and user thread created at http://www.kendoui.com/forums/ui/grid/location-of-pagination-numbers.aspx#2367407 for this.

Several attempts have been made to add paging on top, bottom and both with JavaScript OnLoad or OnDataBound, currently the suggestions do not appear to be working for MVC.

I would like to recommend bringing back the page functionality of the original MVC grid to include (page size selector option located at Top, Bottom or Both) without having to add JavaScript to achieve this original behavor.
Completed
Last Updated: 11 Jan 2021 15:02 by ADMIN
In order to fix concerns from #241 (https://github.com/telerik/kendo-ui-core/issues/241) the Autocomplete now shows a full list of items when the text entered has been deleted.  This ignores the MinLength option, and can cause unresponsiveness in the browser (since MinLength is generally there to reduce the amount of results).  From #574 this new functionality is intentional (and as such, the thread was closed as won't fix), but in practical terms, this causes issues for a lot of people.  If you really don't want to enforce MinLength when 0 results are returned, perhaps adding an extraoption like 'AlwaysEnforceMinLength' would solve this problem
Completed
Last Updated: 11 Jan 2021 14:56 by ADMIN
Created by: Vesselin
Comments: 3
Category: UI for ASP.NET MVC
Type: Feature Request
31
Currently when a grid is bound to a model with related objects and properties via JSON, the grid will only parse the top level object types and treat and related properties as generic objects hence dates are not dates anymore, etc.

Please consider having the grids parse related object properties and data types so there isn't a need for flattened ViewModels in order to properly visualize related data and be able to filter and sort it correctly.
1 2 3 4 5 6