Telerik Forums
UI for ASP.NET MVC Forum
1 answer
183 views

In the UI for ASP.NET MVC build 2023.1.425 build we are seeing an odd behavior where there is a duplicate sort icon on the column that we have set as the initial sort in the grid datasource definition section (ref 1st screenshot).  In comparing the generated HTML for the UI for ASP.NET MVC and UI for ASP.NET CORE  (both 2023.1.425) where both have the same grid datasource initial sort set there is a variance between the HTML generated/shown for the header column in that an extra "k-icon-sort" span tag is being added (ref and compare 2nd and 3rd screenshots).  The grid datasource default sort column is defined as ".Sort(x => x.Add("EmployeeName").Ascending())" and the grid Sortable configuration is defined as ".Sortable(s => s.SortMode(GridSortMode.SingleColumn))" in either of our ASP.NET MVC or ASP.NET CORE projects so that is not a variance and both use the the "classic-silver.css" theme so that too is not a difference so my only thought is that the generation of HTML or applying of style classes on sort action (via some kendo-xxx.js file?) is the difference and the reason why the MVC version shows the dupe icon but not the CORE version.

 

Eyup
Telerik team
 answered on 08 Jun 2023
1 answer
198 views

Hi

I use a Kendo window and load the content through AJAX from a partial view.

The partial view contains Kendo controls such as DropDownList, ContextMenu, etc.

How can I remove all the controls (destroy all UI, events, etc.) inside the partial view when I close the Kendo window

Anton Mironov
Telerik team
 answered on 07 Jun 2023
1 answer
293 views

Hello,

 

we recently upgraded Kendo mvc.net asp from 2018.3 to 20323.1.  Now the fonts for the Kendo controls are all much smaller than they were previously.  Is there a way to set the font globally?  I can see I can set the font size per control but I'd rather nit have to go and set that for every control use.

 

Thanks

 

Phil.

Eyup
Telerik team
 answered on 07 Jun 2023
1 answer
194 views

Hi,

I am working on making application CSP complaint using  UI for ASP.NET MVC R1 2023 SP2 (version 2023.1.425).

Grid column is having ClientTemplate which is causing grid to be empty. This was working prior.

Below is the code snippet:

.ClientTemplate("<a target='_blank' href=" + @Url.Action("ReportRouter", "Reports") + "?reportId=#=ReportId#>#=DisplayName#</a>");

 

Developer tool is showing Invalid template error. I have also added 

@(Html.Kendo().DeferredScriptFile())

 

Any input is appreciated.

 


Anton Mironov
Telerik team
 answered on 02 Jun 2023
1 answer
131 views
Using the 2023.1.425 build of the UI for ASP.NET MVC suite the Notification component is no longer centering as it used to.  Even the demo page for the component on which our code is patterned to do the centering is not working - the notification still shows in the lower right corner when clicking the "Show Centered Notification" button.  Is this a bug that can be fixed or does the example code need to be updated?
Michael
Top achievements
Rank 2
Iron
Iron
Iron
 updated answer on 01 Jun 2023
0 answers
98 views
Hello, I currently have a grid and a child grid. In my child grid I have a custom pop up editor and Inside this editor I would like to Have a grid with only read actions but I keep running into errors such as type errors and "dictionary contains a null entry for parameter ID". Is there a specific way to implement this?
Ibrahim
Top achievements
Rank 1
 asked on 31 May 2023
0 answers
86 views

RadEditor is closing the source element that is nested inside the video element . For example, in the attached screen shots show the “source” element which we add it to Rich text field. After we save the Rich Text field and open it again, we see the source element is closed. Is there a configuration setting that would allow us to bypass the closure of the source element?

 

 

Mike
Top achievements
Rank 1
 asked on 25 May 2023
0 answers
181 views
I am using Visual Studio 2022 and have telerik trial downloaded. I want to use datepicker control. Where are the dlls located so i can use the control?
Charles
Top achievements
Rank 1
 asked on 25 May 2023
1 answer
96 views

Hello,

I need to apply the default template to all cells without template in all grids throughout the existing application, for example:

<span class="some-css-class">FieldValue</span>

Is there a way to achieve this?

Thanks,

Dennis

Eyup
Telerik team
 answered on 24 May 2023
1 answer
331 views

we are working to fix the issue with Kendo-CSP for ASP.Net MVC with jQuery Kendo UI. In our application currently, we are using Kendo grids, dropdowns, and popups.

Initially, we have implemented the below changes for CSP.

  • Update to jQuery 3.6.4
  • Generated the Dynamic nonce numbers and applied nonce for inline scripts
  • Ajax calls replaces with Jquery get/post methods.
  • Removed all styles and replaced them with bootstrap classes.
  • Onclik and Onchanges events replace with javascript addevent listeners.
  • added the Unsafe prefix in the configuration (waiting for the Kendo 2023 R1 version)

Recently we got a new version of Telerik R1 2023, Replaced the below files for Upgrade.

  • Kendo.mvc.dll
  • kendo.aspnetmvc.js
  • kendo.all.min.js

we tried with new changes of kendo, without Unsafe prefix but it's throwing dynamic script errors, kendo controles not working. Our assumption is there are dynamic inline script Generations for Kendo controls which not contains nonce which may cause an issue.

We also tried with Deferred-Script but no use.

we are facing console issues related to Style and Scripts. Help me out.

Thanks.

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 23 May 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?