Telerik Forums
UI for Blazor Forum
1 answer
40 views

Hi Team,

How can I remove download option from Context menu of FileManager Blazor

Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
 answered on 08 Apr 2025
1 answer
53 views

Hi Team,

Is there a way to programmatically navigate to selected folder on button click in Filemanager blazor

Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
 answered on 08 Apr 2025
1 answer
57 views

Hi Team,

I know that we can create a new folder in Blazor FileManager using OnModelInit and OnCreate.

But in my application, I want to have 2 buttons: 1 for New Folder and other for New file.

Is there a way to achieve it?

I have already tried using below code. But I do not get the popup for New File:

<FileManagerToolBarCustomTool>
    <TelerikButton OnClick="@(()=>OnModelInitHandler("file"))">New File</TelerikButton>
</FileManagerToolBarCustomTool>
<FileManagerToolBarCustomTool>
    <TelerikButton OnClick="@OnNewFileClicked">New File</TelerikButton>
</FileManagerToolBarCustomTool>

private void OnNewFileClicked()
    {
        var item = new HierarchicalFileEntry();
        item.Name = $"New file";
        item.Size = 0;
        item.Extension = ".json";
        item.Path = Path.Combine(DirectoryPath, item.Name);
        item.IsDirectory = false;
        item.HasDirectories = false;
    }

Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
 answered on 07 Apr 2025
1 answer
31 views

Hi Team,

I want to remove some options (like Date created, Date Modified, Size) of Sort By in Toolbar of File Manager in Blazor but I am unable to do it. Can you please help.

Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
 answered on 07 Apr 2025
0 answers
32 views

Hi team, 

How can I add StopPropogation for ToolBarButton to prevent it from calling the parent div event.

Tasnim
Top achievements
Rank 1
Iron
Iron
 asked on 07 Apr 2025
1 answer
89 views

Hi,

I'm wondering if there is any plan to implement a URL as an option for loading in a PDF.  I want to be able to display PDFs that are hosted in a sharepoint drive by URL without having to download a PDF into memory every time.  I know there are viewers that can do this, but I'm just wondering if I'm missing something with Telerik, or if I need to go with a different solution.

Thanks,

Nathan

Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
 answered on 07 Apr 2025
2 answers
133 views

I have a form that has a single editable field. When that field has a value put into it there is a method that validates the value and fills in the rest of the fields based on the value.  That method then should also trigger a submit.  I do not want the UI portion of the form to change or respond with a confirmation.  I do need the record Id that is created when the form is submitted. 

So basically
Put a value into a field.
Fill out the rest of the form automatically based on the above value & submit the form data to my DB and return a record Id.
That retrieved Id is then fed to another component that resides in a window control on the original form component.

Ideally there would be way to use a form ref to submit the form...  i.e. myFormRef.Submit()

Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
 answered on 05 Apr 2025
1 answer
39 views

Hi everyone,

I'm working with the Telerik TabStrip component and need help with two issues:

  1. Tab Transition on Button Click: When I click the chevron buttons to navigate through the tabs, I want the visible tabs to change with a smooth transition effect. However, I'm having trouble applying a transition effect for this behavior. Can anyone provide guidance or an example of how to implement a transition when the visible tabs change?

  2. Aligning Tabs on Button Click: When I press the chevron buttons, I want the active tab to remain the same, but the newly visible left-most tab should be aligned at the start (left side) of the TabStrip. How can I ensure that after clicking a chevron, the newly displayed tabs are aligned to the start of the TabStrip?

Any suggestions or code snippets that could help resolve these issues would be greatly appreciated!

Thanks in advance!

Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
 answered on 05 Apr 2025
1 answer
88 views
We are implementing the TelerikGrid for a Blazor application and they have asked that the sort icons be displayed by default on the component's initial load, not after the user clicks in the header row.  It seems to work this way in all of the demo examples.  Is there a way to toggle the display so that sort icons display automatically?
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
 answered on 04 Apr 2025
2 answers
32 views

I discovered an issue with auto-sizing grid columns with a DetailTemplate, but it depends on if the DetailTemplate is displayed or not. It seems that when the DetailTemplate is not shown, the AutoSize works as expected, but when the DetailTemplate is shown the AutoSIze seems to size to the column header only. 

In addition, the top table has a column with an unspecified width so it will fill the space to get the table to 100%. I noticed that on AutoSize the total table width and the other column kept their original width. When columns resized larger than they were, this made the overall table too long and scrollable. So after the resize, I used the table state and set the table and column with to null.

await grid.AutoFitColumnAsync("colProjectDetailModuleAmbTemp");
await grid.AutoFitColumnAsync("colProjectDetailModuleTitle");

var st = grid.GetState();
st.ColumnStates.Where(c => c.Id == "colProjectDetailModuleDesignTypes").First().Width = null;
st.TableWidth = null;

await grid.SetStateAsync(st);

I have attached images for your reference.

Is it a bug that the AutoSize is only using the column headers when the DetailTemplate is shown or am I missing something to get it to resize correctly?

Johnathan
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 04 Apr 2025
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?