This is a migrated thread and some comments may be shown as answers.

Styling not working for Grid

2 Answers 627 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 21 Jun 2018, 01:11 PM

I'm porting an MVC application that uses Kendo UI to .NET Core.  The existing application has considerable styling created by another team and the ported application needs to look like the old one.  The new application is not picking up the old styles (I've double checked the css files and I'm sure they're all in the right location).  When I look at the source on the old code, I see:

<div class="k-widget k-grid" id="grid">

Wrapping the kendoGrid object.  When I look at the source for the new code, I see:

<div id="grid" name="grid">

Around the grid.  Is there a difference between the MVC and .NET Core products in the way the default styles are specified?  Is there a way to explicitly state what styles are used?  Any idea what I might be missing between the old and new versions? 

2 Answers, 1 is accepted

Sort by
0
Mike
Top achievements
Rank 1
answered on 21 Jun 2018, 01:34 PM
Hey, I need to add my voice to all the others: why is editing not enabled on this forum.  I use about 10 different forums regularly and this is the only one that doesn't have this ability.  My problems are generally complex and it's nearly impossible to clearly describe them on the first attempt.  This seriously limits the usefulness of this forum.
0
Viktor Tachev
Telerik team
answered on 26 Jun 2018, 10:15 AM
Hello Mike,

The custom styling applied using the built-in CSS classes for the Grid widget should work for the .NET Core wrapper as well. The same CSS classes are used there. I tested the behavior locally and the classes are applied as expected on my end. You can also check the online examples for reference.


With that said, would you ensure that you are using the latest version of the components and see how the behavior changes. The current release is 2018.2.620.

Regards,
Viktor Tachev
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Mike
Top achievements
Rank 1
Answers by
Mike
Top achievements
Rank 1
Viktor Tachev
Telerik team
Share this question
or