Telerik Forums
UI for Blazor Forum
1 answer
404 views
How can I show a hint when using a formtemplate? I am using code code like this validation messages for templated Form items But are missing the Hint for a consistent layout.

Also why not add change events to the FormItem
Yanislav
Telerik team
 answered on 27 Jan 2023
1 answer
172 views

We've used the SplitButton on a variety of windows, and after upgrading to v4.0 we've noticed that the pages containing a SplitButton do not load, they simply die off into never-never land. Somewhere we've seen OutofMemory but we are not positive it's happening on this call. We have a few different use cases for our SplitButtons - Save, Save & Close, and Delete. The other is to choose your printing or email type.

Do we have this formatting incorrectly? They work in v3.7 just fine.

And, I noticed the documentation is for v3.7, not v4.0 -- https://demos.telerik.com/blazor-ui/splitbutton/overview

<TelerikSplitButton Icon="@SvgIcon.Save" OnClick="@(() => HandleValidSubmit(false))">
                                        <SplitButtonContent>Save</SplitButtonContent>
                                        <SplitButtonItems>
                                            <SplitButtonItem Class="mr-2 save" OnClick="@( () => HandleValidSubmit(false))" Icon="@SvgIcon.Save">Save</SplitButtonItem>
                                            <SplitButtonItem Class="mr-2 save" OnClick="@( () => HandleValidSubmit(true))" Icon="@SvgIcon.Save">Save & Close</SplitButtonItem>
                                            <SplitButtonItem Class="mr-2 delete" OnClick="@ButtonDeleteOnClick" Icon="@SvgIcon.Trash" Enabled="@IsDeletionAllowed">Delete</SplitButtonItem>
                                        </SplitButtonItems>
                                    </TelerikSplitButton>

                                <TelerikSplitButton Class="print-button" OnClick="@OnPreviewClickHandler" Icon="@SvgIcon.FilePresentation">
                                    <SplitButtonContent>Print To</SplitButtonContent>
                                        <SplitButtonItems>
                                            <SplitButtonItem Class="print-button"
                                                        OnClick="@OnPreviewClickHandler" Icon="@SvgIcon.FilePresentation">Preview</SplitButtonItem>
                                            <SplitButtonItem Class="print-button"
                                                        OnClick="@OnPdfClickHandler" Icon="@SvgIcon.FilePdf">PDF</SplitButtonItem>
                                            <SplitButtonItem Class="print-button"
                                                        OnClick="@OnExcelClickHandler" Icon="@SvgIcon.FileExcel">Excel</SplitButtonItem>
                                            <SplitButtonItem Class="print-button"
                                                        OnClick="@OnWordClickHandler" Icon="@SvgIcon.FileWord">Word</SplitButtonItem>                                            
                                            <SplitButtonItem Class="print-button"
                                                        OnClick="@OnClick_BtnEmail" Icon="@SvgIcon.EnvelopLink">Send Email</SplitButtonItem>
                                            <SplitButtonItem Class="print-button"
                                                        OnClick="@OnClick_BtnText" Icon="@SvgIcon.Rss">Send Text</SplitButtonItem>
                                        </SplitButtonItems>
                                </TelerikSplitButton>


Dimo
Telerik team
 answered on 26 Jan 2023
1 answer
199 views

I am trying to create a timeline component that is just using week numbers of the current year. I am looking at the Gantt chart but not sure how to customise the view to use just week numbers. There is a similar thing for telerik wpf called RadTimeline which is kind of what I want but for Blazor.

 

Here is an example.

Hristian Stefanov
Telerik team
 answered on 26 Jan 2023
1 answer
208 views
If the splitter pane is collapsed,  its content is disposed and re-initialized again when the user expands the pane.

Is there a way to keep a pane content? 
Nadezhda Tacheva
Telerik team
 answered on 25 Jan 2023
1 answer
490 views
I want some properties to be read-only. I am okay with the disable style on the textbox, that's standard.
But why dimme the label?

Whats the best way to make the label normal again?
Nadezhda Tacheva
Telerik team
 answered on 25 Jan 2023
0 answers
104 views
Even if you set the Showtooltip="false" property, the tooltip will still appear with the field value:

Ivan
Top achievements
Rank 3
Iron
Iron
Iron
 asked on 24 Jan 2023
2 answers
344 views

Ok I have a need for the grid to do the following;

Parent grid row

    Child grid 1 detail rows

    Child grid 2 detail rows

    Child grid 3 detail rows

Parent grid has 1 set of columns.

And each of the children grids have a different set of columns to each other. Hope that make sense.

From your example doc:

<TelerikGrid Data="salesTeamMembers"> <DetailTemplate> @{ var employee = context as MainModel; <TelerikGrid Data="employee.Orders" Pageable="true" PageSize="5"> <GridColumns> <GridColumn Field="OrderId"></GridColumn> <GridColumn Field="DealSize"></GridColumn> </GridColumns> </TelerikGrid> } </DetailTemplate> <GridColumns> <GridColumn Field="Id"></GridColumn> <GridColumn Field="Name"></GridColumn> </GridColumns> </TelerikGrid>

 

My understanding is;

This is the parent data,

<TelerikGrid Data="salesTeamMembers">

this would be the first child grid,

<DetailTemplate>

for a 2nd child grid would I just add another one of these tags,

<DetailTemplate> lining it up to the 

 public List<DetailsModel> Orders { get; set; } in the main model?

something like:

public class MainModel { public int Id { get; set; } public string Name { get;set; } public List<Child1DetailsModel> Orders { get; set; }

        public List<Child2DetailsModel> Orders { get; set; }

} public class Child1DetailsModel { public int OrderId { get; set; } public double DealSize { get; set; } }

public class Child2DetailsModel
    {
        public int RecID { get; set; }
        public double ItemValue { get; set; }
    }
Yanislav
Telerik team
 answered on 24 Jan 2023
1 answer
977 views
On mobile you dont really want to change the DateTime with Keyboard. Is it possible to disable this feature because we develop a Maui Blazor Hybrid. 
Nadezhda Tacheva
Telerik team
 answered on 24 Jan 2023
0 answers
146 views

Heres what I get on the page:

See it has the column info from the DB and it should be showing 4 rows of data.

When I debug I see it returning 4 rows!

I have it hooked up as such:

<TelerikGrid @ref="@GridMarginInfoResults"
                             Data="@GDMarginInfoResults"
                             AutoGenerateColumns="true"
                             Pageable="true"
                             Sortable="true"
                             Class="custom-row-colors">                
                </TelerikGrid>

private List<MarginInfo> GDMarginInfoResults { get; set; }
        public TelerikGrid<MarginInfo> GridMarginInfoResults { get; set; }

What am I missing?

Deasun
Top achievements
Rank 3
Bronze
Bronze
Bronze
 asked on 23 Jan 2023
1 answer
998 views
I'm trying to expand all child rows of the grid whenever a user has a flag to auto-expand.  I'm using the ExpandedItems collection in the GridState to add all items from my datasource to the collection.  This works when I initially click the switch to turn auto-expand on.  However, whenever I move to a new page, filter, change the page size, etc.  all of the child rows end up collapsed.  I have tried re-setting the ExpandedItems collection using some of the grid's events like PageChanged or StateChanged but nothing happens. My guess is that the mechanism that resets the Expanded Items is being called after I am expanding them, so the rows are being set back to collapsed.  Is there a way to do this so that whenever a page change or filter occurs, all items are expanded?
Hristian Stefanov
Telerik team
 answered on 23 Jan 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?