I am facing a challenge with displaying two kendo grids side by side on a single view page. To modify the CSS style of a kendo grid using ASP.NET, I typically use:
.HtmlAttributes(new { style="width:50%"})
However, when attempting to change more than one character in the style attribute, such as trying to add "float:right", the following code does not work:
.HtmlAttributes(new { style="width:50% , float:right"})
or
.HtmlAttributes(new { style="width:50%"+ "float :right"})
I'm seeking a solution for this issue and wondering if there is an easier way to modify the CSS of the kendo grid, perhaps utilizing JavaScript or other methods?
Thank you.