Telerik Forums
UI for Blazor Forum
2 answers
1.6K+ views

Good Afternoon,

 

I am building an elections app. I would like to use the Telerik Grid to display the candidates and votes. Each candidate will have a table row/record for each precinct vote tally. I have set the ability to group and to group by the candidate column. However I have to click/drag manually to group the candidates.

 

What I would like is when the page loads is a listing of each candidate grouping with a footer of the total vote count in a collapsed state. Then the user if they want to see a breakdown of the votes by precinct, they can expand the candidate.

 

Can I setup the grid to do be in this state programatically? If so, can you get me pointed in the right direction?

Below is my grid

<TelerikGrid Data="@officeList" Groupable="true" >
                                    <GridAggregates>
                                       <GridAggregate Field="@(nameof(VotingMainModel.Votes))" Aggregate="@GridAggregateType.Sum" />
                                    </GridAggregates>
                                    <GridColumns>
                                        <GridColumn Field="@(nameof(VotingMainModel.Candidate))" Title="Candidate" Groupable="true" />
                                        <GridColumn Field="@(nameof(VotingMainModel.Affiliation))" Title="Affiliation" />
                                        <GridColumn Field="@(nameof(VotingMainModel.Precinct))" Title="Precinct" />
                                        <GridColumn Field="@(nameof(VotingMainModel.Votes))" Title="Votes">
                                            <GroupFooterTemplate>
                                                Total Votes: <strong>@context.Sum</strong>
                                            </GroupFooterTemplate>
                                        </GridColumn>
                                    </GridColumns>
                                </TelerikGrid>
Jason
Top achievements
Rank 1
Veteran
 answered on 22 Jun 2020
1 answer
208 views

I have a scenario I did not see how to fix.  I have a menu aligned top right with sub menus.  It expands down and then to the right.  The sub menu items on the screen edge stay on the screen but cover the menu items underneath.  Is there a way to expand to the left?

Eli
Top achievements
Rank 1
Veteran
 answered on 22 Jun 2020
4 answers
1.7K+ views
Hello,

i have a button that changes some data in backend after that i need to refresh data of a grid and also i need  sort, pagesize, ... data of grid  
Brian
Top achievements
Rank 1
 answered on 22 Jun 2020
3 answers
1.0K+ views

Im using a code-behind approach as in this article
https://www.telerik.com/blogs/using-a-code-behind-approach-to-blazor-components

When using the upload component, we need to specify a SaveUrl
https://docs.telerik.com/blazor-ui/components/upload/overview

Is that the only way? 
Can we have a web api that and a blazor server app in the same project, with the api handlers handling routes also?

 

BitShift
Top achievements
Rank 1
Veteran
 answered on 19 Jun 2020
2 answers
568 views
When Im using a component such as a TelerikButton, there is a property @attributes.  Where can I see an example of how / what its used for?  Can I place a style string in it ?
Svetoslav Dimitrov
Telerik team
 answered on 19 Jun 2020
2 answers
1.4K+ views

Any plans to implement a checkboxlist component?
Like in the aspnet-ajax library?  Would come in handy with several projects im working on
https://docs.telerik.com/devtools/aspnet-ajax/controls/checkboxlist/overview

 

BitShift
Top achievements
Rank 1
Veteran
 answered on 18 Jun 2020
6 answers
1.3K+ views

Hi,

How do I make all/some Check Boxes selected on Grid Load?

Is there "Value" or "Selected" property of that component?

Something like:

                        <GridColumns>
                            <GridCheckboxColumn Selected="true"/>

                       </GridColumns>

Please advise

 

const
Top achievements
Rank 2
Veteran
 answered on 18 Jun 2020
3 answers
663 views

I installed UI for Blazor into an existing Blazor Server project. I have confirmed that the Telerik control for Blazor are functioning with my pages. However, when using the controls on a Razor page I am not getting any Intellisense suggestions. If I do CTRL + Space Intellisense displays "No Suggestions". Have I missed a setup step or something?

Thanks.

Marin Bratanov
Telerik team
 answered on 18 Jun 2020
9 answers
3.8K+ views

Hi,

I'm using  "nav-link" to go to page:

@page "/orders"

I'm also using Parameter which tells me what type of order to be loaded with that Page:

@page "/orders/{ord}"

 

There is "nav-item" dropdown on NavMenu.razor page to navigate to Page:

                <a class="dropdown-item" href="orders/SO">SO</a>
                <a class="dropdown-item" href="orders/PO">PO</a>

 

The issue is, when I click on any of those links first time (say href="orders/SO") - the Page loads correctly.

But then, when I click on href="orders/PO" - the page isn't rendering accordingly even though Parameter on Url has changed.

This happens after I replaced JS Table I used before with Telerik Grid.

Please advise

 

const
Top achievements
Rank 2
Veteran
 answered on 18 Jun 2020
3 answers
1.9K+ views

I have 2 horizontal charts that are set to 100% width, when resizing the browser the charts are not resize to be 100% of the new browser size so they are left out of the window.

Is there any way to do this? could you add this feature to your charts so they can autoajust to any resolution when resizing the browser?

Marin Bratanov
Telerik team
 answered on 18 Jun 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?