Telerik Forums
UI for Blazor Forum
3 answers
3.6K+ views

Hi Team,

 

Could you please suggest to do Copy Clipboard on Button click in blazor?

 

Thanks,

Vishnu 

Peter
Top achievements
Rank 2
Iron
 answered on 28 Nov 2022
1 answer
198 views

 If I have multiple incoming notifications, how do I limit the number that are visible ? Is there a property to set or is there a way I can programmatically remove certain toasts?

Thank you

 

  
Svetoslav Dimitrov
Telerik team
 answered on 25 Nov 2022
1 answer
160 views
Is it possible to validate required DatePicker control without EditForm?
Dimo
Telerik team
 answered on 25 Nov 2022
0 answers
138 views

Hi, I need open xmlstring in new tab. How can I do it? Do I have to use JSRuttime, if yes, so how?

Thanks for answer

Peter

 

 

Peter
Top achievements
Rank 1
Iron
Iron
 asked on 25 Nov 2022
1 answer
143 views

Hi,

I'm having trouble getting a GridCheckBoxColumn to remember what was checked on page 1 of a grid, if I switch to page 2 and then back to page 1.

I can't tell from the documentation if this is expected behavior or not.

Does anyone else know if I need to write custom code here?

Rob

Dimo
Telerik team
 answered on 24 Nov 2022
1 answer
141 views

Is it possible to have the BreadcrumbItem show the link in the browser status bar when a user hovers over it, like a regular anchor tag?

 

I tried using an ItemTemplate and wrapping the content in an anchor tag with the onclick set to return false, but I couldn't see any way to do this without losing all the existing styling. It seems like I'd have to pretty much rewrite the entirety of the BreadcrumbItem to get access to things like the Root or Last property in order to render the items correctly.

Hristian Stefanov
Telerik team
 answered on 23 Nov 2022
1 answer
127 views

Hi there,

I use the sample code in here and I can see the scrollable icon.

But when I try to add tabs by button click , the scrollable  icon is not shown.

How to fix it?


<TelerikTabStrip Scrollable="true"
                 Width="300px"
                 TabPosition="Telerik.Blazor.TabPosition.Top">
    @{
        for (int i = 0; i < tabCount; i++)
        {
            var title = "long long long-" + @i.ToString();
            
            <TabStripTab Title="@title" @key="@i">
                Tab content.
            </TabStripTab>
        }
    }
</TelerikTabStrip>

<TelerikButton OnClick="AddTab">add tab</TelerikButton>

@code {
    int tabCount = 0;

    void AddTab()
    {
        tabCount++;
        StateHasChanged();
    }
}

Brandon
Top achievements
Rank 1
Iron
 answered on 23 Nov 2022
0 answers
124 views

Hi Team,

Currently I am using Telerik UI Blazor with 3.7.0 version, few cases and intermittently TooltipShowEvent.Click is not working and tooltip is not getting displayed and unable to find root cause for it.

Could you please assist what is causing for this behavior and feasible solution?

Below is sample code snippet where we use 3 tabs

<TelerikTabStrip Class="tmGraphTabStrip" ActiveTabIndex="@ActiveTab" ActiveTabIndexChanged="@ActiveTabChanged" @ref="@TabRef">
@for (var i = 0; i < 4; i++)
 {
<TabStripTab Title="@TabName" Class="tmTabHeaderCellStyle">
<TelerikGridLayout RowSpacing="20px" ColumnSpacing="1px" Class="grid-CardlayoutNew">
@*
display data in gridlayout structure for each row/column along with tooltip, we are able to see div selector and target selector Ids from Dev Tools browser
*@
</TelerikGridLayout>
</TabStripTab>
}
</TelerikTabStrip>

Ex:

<TelerikTooltip TargetSelector="@ToolTipCurselector" ShowOn="@TooltipShowEvent.Click" Position="TooltipPosition.Top">
</TelerikTooltip>

Vinod
Top achievements
Rank 1
 asked on 22 Nov 2022
0 answers
94 views

Scenario:

Put a visual Linear Gauge into a GridColumn so to show a visual perspective of a count instead of a number.

Issue:

On first page render the Grid to the page, the TelerikLinearGauge shows.   If I exit to another page and then come back to the page, the TelerikLinearGauge will not render, and the column is now blank.  

How to Refresh:

There must be some trick to having the image of the gauge re-render on subsequent refreshes of the page.  I hate guessing and think this is a typical scenario that should be documented on your site.  Right?

Preferred Approach:

The Linear Gauge will render and refresh just like all the other columns without custom workarounds and/or techniques.

 

Telerik.Blazor.Components.TelerikLinearGauge LinearGaugeRef { get; set; }

Code:

 <GridColumn Field="@nameof(PackageRequest.ViewCount)" Title="Views" Width="40px" Visible="false">
            <Template>
                @{
                    var item = context as PackageRequest;
                    @if (item.ViewCount > 0)
                    {
                        <TelerikLinearGauge>
                            <LinearGaugeScales>
                                <LinearGaugeScale Min="0" Max="@TotalViewCount" Vertical="false">
                                    <LinearGaugeScaleMinorTicks Visible="false"></LinearGaugeScaleMinorTicks>
                                </LinearGaugeScale>
                            </LinearGaugeScales>
                            <LinearGaugePointers>
                                <LinearGaugePointer Value="@item.ViewCount" />
                            </LinearGaugePointers>
                        </TelerikLinearGauge>
                    }
                }
            </Template>
        </GridColumn>
Jerdobi
Top achievements
Rank 1
Iron
Iron
 updated question on 22 Nov 2022
1 answer
131 views
If I use anything other than pixels (or if I don't set it at all) I get an error. My app will be running on a cell phone or tablet which could be in portrait or landscape orientation so setting the size in pixels doesn't work very well.
Dimo
Telerik team
 answered on 21 Nov 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?