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

Blazer Styling

1 Answer 164 Views
Grid
This is a migrated thread and some comments may be shown as answers.
WOLFGANG
Top achievements
Rank 1
Veteran
WOLFGANG asked on 28 Dec 2020, 02:37 AM

What is it that I'm missing when I have a Blazer Telerik Grid specified this way on a razor page:

 

@page "/households"
<h3>Households</h3>

<TelerikGrid Data="Model" Height="550px" Sortable="true">
    <GridColumns>
        <GridColumn Field="Name" Title="Name" />
        <GridColumn Field="Lies_District" Title="District" />
        <GridColumn Field="Openings" Title="Openings" />
        <GridColumn Field="EmailAddress" Title="Email" />
        <GridColumn Field="JoinedOn_DateTime" Title="JoinedOn" />
        <GridColumn Field="ReportCount" Title="Reports" />
        <GridColumn Field="LastReport" Title="Last Report" />
    </GridColumns>
</TelerikGrid>

 

and the resulting page has no grid lines, headings all smashed together with only one space between title columns?

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 28 Dec 2020, 09:36 AM

Hi Wolfgang,

You need to make sure that you also have the necessary assets such as styles for our components, this article explains them in detail: https://docs.telerik.com/blazor-ui/getting-started/what-you-need.

If you are using our Blazor component on a Razor page and not in a Blazor app, I'd also recommend you review the information and readme files in those sample projects too: https://github.com/telerik/blazor-ui/tree/master/common/razor-components.

 

Regards,
Marin Bratanov
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/.

Tags
Grid
Asked by
WOLFGANG
Top achievements
Rank 1
Veteran
Answers by
Marin Bratanov
Telerik team
Share this question
or