Declined
Last Updated: 07 Jun 2021 12:11 by ADMIN
Kyle
Created on: 15 Mar 2021 20:07
Category: UI for ASP.NET MVC
Type: Bug Report
0
UI Component name validation

UI Component name doesn't validate if there are spaces being used, (an expression is used for name). When spaces are used it doesn't work and throws no errors at all in web console or visual studio output window.

For example if we use an Telerik expression (like we did) as part of the name it will break if said expression returns a value with a space. Which in hindsight makes 100% sense. I think it would be beneficial to any developers in the future if there was a layer of validation that would check to see if a UI component name has a space in it which will break the component functionality. 

In the Telerik-example.png I showed what the fields Im searching by are and you can see grid 1 is loading (which is correct and will work when I continue through the process) However grid 2 simply shows/outputs nothing in the grid at all, and the name of the grid is the black underlined field. Which is breaking due to the space being there.

Attached Files:
2 comments
ADMIN
Maria Ivanova
Posted on: 07 Jun 2021 12:11

Hi Folks,

Need to close the current item as "Declined", due to lack of provided further details. 

Kind Regards, Maria Veledinova Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

ADMIN
Misho
Posted on: 22 Mar 2021 13:10

Hi,

In cases where the field name includes space you should use square brackets and quotes to specify the field. Similar cases are discussed in the following threads:

https://www.telerik.com/forums/grid-with-spaces-in-fields

https://www.telerik.com/forums/field-name-with-space-and-other-than-numeric-creating-issues-to-load-the-grid 

https://www.telerik.com/forums/grid-with-spaces-in-column-name 

I hope you will find this information helpful for solving the issue on your side.

Please don't hesitate to contact us again in case you have other feedback or questions related to Telerik products.

Looking forward to your feedback.

Best Regards,
Misho
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.