HTML or < > tags in ASP.Net MVC grid

1 Answer 35 Views
Grid
Mike
Top achievements
Rank 1
Mike asked on 11 Aug 2021, 03:22 PM | edited on 11 Aug 2021, 03:23 PM

Hi there,

Is the recommended way of dealing with encoded HTML in grid cells being sent back to the controller still using [ValidateInput(false)] on the controller as per this forum post html encode in UI for ASP.NET MVC | Telerik Forums ?

Thank you,

Mike Kingscott

1 Answer, 1 is accepted

Sort by
1
Accepted
Eyup
Telerik team
answered on 16 Aug 2021, 11:54 AM

Hi Mike,

 

Thank you for writing to us.

Yes, that seems to be the case.

In addition, I can highly suggest these resources which tend to be very helpful in various cases:

1. MVC FAQ:
https://docs.telerik.com/aspnet-mvc/html-helpers/data-management/grid/faq#frequently-asked-questions

2. Kendo UI Templates (MVC is using them as a base):
https://docs.telerik.com/kendo-ui/framework/templates/overview

 

Regards,
Eyup
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.

Tags
Grid
Asked by
Mike
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or