Telerik Forums
UI for Blazor Forum
1 answer
780 views

I have a relatively long running task and would like to show a Dialog box informing the user stuff is happening with a ProgressBar to show completion progress. However when the ProgressBar is in DialogContent it is not updating the UI when I update the Value of the progressbar.

If I put the progressbar in the body of the page it works as expected.

Razor Code is something like:

<TelerikDialog @bind-Visible="@DialogVisible"
               Width="500px"   
               ShowCloseButton="false"
               CloseOnOverlayClick="false">
    <DialogTitle>Updating</DialogTitle>
    <DialogContent>
        <p>Assigning stuff...</p>
         <TelerikProgressBar Value="@ProgressValue" Max="100"></TelerikProgressBar>
    </DialogContent>
</TelerikDialog>

Then code is:

@code {
	private bool DialogVisible { get; set; } = false;
	private double ProgressValue = 0;

	private async void ButtonClick()
	{
		DialogVisible = true;

		for (var i = 0; i < 20; i++)
		{
			ProgressValue = Math.Round((double)i / 20 * 100);
			StateHasChanged();
			await Task.Delay(1000);
		}
	}
}

 

Nadezhda Tacheva
Telerik team
 answered on 21 Feb 2023
1 answer
535 views

Hi

I am swtiching from asp.net ajax to blazor server. I have used your controls for many years. 

I developed a navigation with tabstrips in 2 levels you can view a short video https://youtu.be/r27mRYvaxlk

I used a aspx with RadSpliter: on top I put the main menu this calls js function to add new Tab on Tabstrip and put another aspx inside. Ypu can see on video that Url never changes.

I want to replicate it now in Blazor, can I do with your controls?

 

Thanks in advance

Dimo
Telerik team
 answered on 21 Feb 2023
0 answers
226 views

Hi Team,

currently i am using blazorise video component in my web application and i have few videos which are in .mp4 and .wmv. i see .mp4 video files are playing without any issues whereas for .wmv video files are not playing and showing blank.

Could you please assist and how to play .wmv video files without converting those into .mp4 format.

 <Video Source="@videoURL" Class="tmVideoPlayer"  AutoPlay="true"/>

Vinod
Top achievements
Rank 1
 asked on 21 Feb 2023
0 answers
176 views
Basically I'm using the Signature component inside of the Form component, so of course I want the signature to be sent to my database. The only problem is, the string is way too long and causing the error 414. Does anyone know of a way to resolve this?
Kezi
Top achievements
Rank 1
 asked on 20 Feb 2023
2 answers
487 views

I am finding to way to style the Scrollbars of a Grid.

Is there any ?

 

 

Nadezhda Tacheva
Telerik team
 answered on 20 Feb 2023
1 answer
558 views

I have a grid:

 <TelerikGrid @ref="@gridHDR"
                             Data="@GDgridHDR"
                             AutoGenerateColumns="true"
                             Pageable="true"
                             Sortable="true"
                             Class="custom-row-colors"
                             FilterMode="@GridFilterMode.FilterRow">
                        <GridToolBarTemplate>
                                <GridCommandButton Command="ExcelExport" Icon="@FontIcon.FileExcel">Export to Excel</GridCommandButton>
                            <label class="k-checkbox-label"><TelerikCheckBox @bind-Value="@gridHDR_ExportAllPages" /> Export All Pages</label>
                            </GridToolBarTemplate>
                            <GridExport>
                            <GridExcelExport FileName="@msExportFileName" AllPages="@gridHDR_ExportAllPages" OnBeforeExport="@gridHDR_OnBeforeExcelExport" />
                            </GridExport>                        
                        </TelerikGrid>

It autogenerates the columns .

I have a need to hide one or more of the columns if the user checks off a checkbox on the UI.

So i would like to do something like:

Grid.Column[0].visible = False;

Is there a way to do this without me having to put in all the Column tags?

If I do have to add in the column tags can I only add in the ones that may be turned off/On or do I have to add in all the columns coming back?

Hopefully that makes some sense.

Thanks

Deasun

Dimo
Telerik team
 answered on 20 Feb 2023
1 answer
781 views

I would like to Tail-Truncate the Text in a Column to prevent having multiple lines in a row.

I tried the sample:

https://docs.telerik.com/blazor-ui/knowledge-base/grid-rows-text-ellipsis

But even the sample is not working. 

How is this fixed ?

Svetoslav Dimitrov
Telerik team
 answered on 17 Feb 2023
1 answer
185 views

How can I set a column header for my hierarchical data?

Also when there is no hierarchical data the “+” and the template should not be rendered.

Hope at least for some help on setting the header


 

Svetoslav Dimitrov
Telerik team
 answered on 17 Feb 2023
1 answer
392 views

when adding:

builder.Services.AddTelerikBlazor();

in step 4 of the 'Server-Side Blazor (Tutorial)' I'm getting this error:

IServiceCollection' does not contain a definition for 'Add Telerik Blazor' and no accessible extension method 'Add TelerikBlazor' accepting a first argument of type 'IServiceCollection' could be found (are you missing a using directive or an assembly reference?)

 

Thanks in advance for assistance.

Svetoslav Dimitrov
Telerik team
 answered on 17 Feb 2023
1 answer
257 views

Here is the code that calls the dialog: 


        catch (Exception ex)
        {
            await Dialogs.AlertAsync(ex.Message, "Error!");
        }

David
Top achievements
Rank 3
Iron
Iron
Veteran
 answered on 16 Feb 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?