Telerik Forums
UI for Blazor Forum
2 answers
86 views

How much control do we have for displaying overlapping appointments? Right now, they show side-by-side which makes them hard to read:

 

Is it possible to lay them out differently so they overlap, giving more space to read the contents. Similar to how Google Calendar does it.

Dimo
Telerik team
 answered on 22 Apr 2025
1 answer
64 views

Hi Team,

Steps:

1. Click on New folder and create a new folder with name "ABC" (OnCreateHandler method is called to which is attached to OnCreate event)

2. Right click on folder "ABC" and click on rename and rename it as "XYZ"

3. On enter click, it retains the old folder "ABC" and creates a new folder with name "XYZ". (Again OnCreateHandler method is called instead of OnUpdateHandler)

Can you please help me understand if it is a bug with FileManager or is something wrong at my end.


<TelerikFileManager @ref="FileManagerRef"
                    Data="@FileManagerData"
                    @bind-Path="@DirectoryPath"
                    IdField="MyModelId"
                    Height="400px"
                    NameField="Name"
                    PathField="Path"
                    ExtensionField="Extension"
                    IsDirectoryField="IsDirectory"
                    HasDirectoriesField="HasDirectories"
                    DirectoriesField="MyDirectories"
                    ItemsField="Items"
                    SelectedItems="@SelectedItems"
                    SelectedItemsChanged="@((IEnumerable<HierarchicalFileEntry> selectedFiles) => OnSelect(selectedFiles))"
                    OnCreate="@OnCreateHandler"
                    OnUpdate="@OnUpdateHandler"
                    OnDelete="@OnDeleteHandler" />

Tsvetomir
Telerik team
 answered on 22 Apr 2025
1 answer
54 views

Hello,

how can I make the clear-value button in the GridSearchBox always visible?
By default, the clear button only appears when the GridSearchBox has a value. I’d like it to always be visible, even when the input is empty.

Thanks

Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
 answered on 17 Apr 2025
1 answer
76 views
We want to customise the controls inside the Grid's pager. 

With the following settings it's generating what's in the actual.png.  We would like to achieve the template in required.png.

Is it possible to move the controls and change the content inside the pager?

    <GridSettings>
        <GridPagerSettings InputType="PagerInputType.Input"
                           PageSizes="@PageSizes"
                           ButtonCount="5"
                           Adaptive="true"
                           Position="PagerPosition.Bottom">
        </GridPagerSettings>
    </GridSettings>

CJ
Top achievements
Rank 2
Iron
 updated question on 17 Apr 2025
0 answers
72 views

Hello all,

I am getting the following error upon running  deployed blazor app on IIS. When running it from local VS 2022 there are no issues.


[2025-04-16T16:55:34.549Z] Error: System.InvalidOperationException: Unable to set property 'columns' on object of type 'Telerik.Blazor.Components.TelerikForm'. The error was: Unable to cast object of type 'System.String' to type 'System.Int32'. ---> System.InvalidCastException: Unable to cast object of type 'System.String' to type 'System.Int32'. at Microsoft.AspNetCore.Components.Reflection.PropertySetter.CallPropertySetter[TTarget,TValue](Action`2 setter, Object target, Object value) at Microsoft.AspNetCore.Components.Reflection.ComponentProperties.<SetProperties>g__SetProperty|3_0(Object target, PropertySetter writer, String parameterName, Object value) --- End of inner exception stack trace --- at Microsoft.AspNetCore.Components.Reflection.ComponentProperties.<SetProperties>g__SetProperty|3_0(Object target, PropertySetter writer, String parameterName, Object value) at Microsoft.AspNetCore.Components.Reflection.ComponentProperties.SetProperties(ParameterView& parameters, Object target) at Microsoft.AspNetCore.Components.ComponentBase.SetParametersAsync(ParameterView parameters) at Telerik.Blazor.Components.TelerikForm.SetParametersAsync(ParameterView parameters) at Microsoft.AspNetCore.Components.Rendering.ComponentState.SupplyCombinedParameters(ParameterView directAndCascadingParameters)

 

 <TelerikForm Columns="3" ColumnSpacing="35px" Model="@FormModel">
    <FormItems>
        <!-- Dropdown 1 -->
        <FormItem>
            <Template>
                <div>Dropdown 1</div>
                <TelerikComboBox Width="350px" Data="@Dropdown1Options" TextField="Text" ValueField="Value"
                                 @bind-Value="@FormModel.Dropdown1Value"
                                 ShowClearButton="true" Filterable="true" Placeholder="Select">
                </TelerikComboBox>
            </Template>
        </FormItem>

        <!-- Text Field 1 -->
        <FormItem>
            <Template>
                <div>Text Field 1</div>
                <TelerikTextBox Width="350px" @bind-Value="@FormModel.TextField1" />
            </Template>
        </FormItem>

        <!-- Text Field 2 -->
        <FormItem>
            <Template>
                <div>Text Field 2</div>
                <TelerikTextBox Width="350px" @bind-Value="@FormModel.TextField2" />
            </Template>
        </FormItem>

        <!-- Dropdown 2 -->
        <FormItem>
            <Template>
                <div>Dropdown 2</div>
                <TelerikComboBox Width="350px" Data="@Dropdown2Options" TextField="Text" ValueField="Value"
                                 @bind-Value="@FormModel.Dropdown2Value"
                                 ShowClearButton="true" Filterable="true" Placeholder="Select">
                </TelerikComboBox>
            </Template>
        </FormItem>

        <!-- Dropdown 3 -->
        <FormItem ColSpan="2">
            <Template>
                <div>Dropdown 3</div>
                <TelerikComboBox Width="350px" Data="@Dropdown3Options" TextField="Text" ValueField="Value"
                                 @bind-Value="@FormModel.Dropdown3Value"
                                 ShowClearButton="true" Filterable="true" Placeholder="Select">
                </TelerikComboBox>
            </Template>
        </FormItem>

        <!-- Dropdown 4 -->
        <FormItem>
            <Template>
                <div>Dropdown 4</div>
                <TelerikComboBox Width="350px" Data="@Dropdown4Options" TextField="Text" ValueField="Value"
                                 @bind-Value="@FormModel.Dropdown4Value"
                                 ShowClearButton="true" Filterable="true" Placeholder="Select">
                </TelerikComboBox>
            </Template>
        </FormItem>

        <!-- Dropdown 5 -->
        <FormItem>
            <Template>
                <div>Dropdown 5</div>
                <TelerikComboBox Width="350px" Data="@Dropdown5Options" TextField="Text" ValueField="Value"
                                 @bind-Value="@FormModel.Dropdown5Value"
                                 ShowClearButton="true" Filterable="true" Placeholder="Select">
                </TelerikComboBox>
            </Template>
        </FormItem>

        <!-- Dropdown 6 -->
        <FormItem>
            <Template>
                <div>Dropdown 6

bimal
Top achievements
Rank 1
Iron
 asked on 16 Apr 2025
0 answers
46 views

Hi Team,

For nested folders with the same name, clicking on any folder redirects to the main folder with the same name FileManager

For eg.: I have folder path: "C:AppName/Storage/FileStorage/Test/Test/Test/Test/Test/Test"

Now if I click on second last folder with name "Test" from breadcrumb, it redirects to the first folder with name "Test".

Can you help me with this?

Tasnim
Top achievements
Rank 1
Iron
Iron
 asked on 16 Apr 2025
0 answers
51 views

Hi Team,

Breadcrumb does not display full path if the path is too long FileManager

For eg.: My path is "C:/AppName/Storage/FileStorage/New folder/New folder/New folder/New folder/New folder"

But breadcrumb only displays: "C:/AppName/Storage/FileStorage/New folder/New folder/New folder"

Is it because there is no space to show the complete path?

I have debug my code and checked, the path of FileManager is correct. What may be the issue here?

Tasnim
Top achievements
Rank 1
Iron
Iron
 updated question on 16 Apr 2025
2 answers
80 views


Hi,
I'm developing a Blazor web app with:
- .NET9,
- rendering
@rendermode="new InteractiveWebAssemblyRenderMode(prerender: true)


I would like to show data starting from the selected record in a grid in a telerik window, where starting from this data I would populate various fields in a chain.
This data could be modified inside the telerik window and saved using a button.
This use is possible but there is a problem to solve: if I modify the data in the telerik window and then close it, the modified data is maintained if I reopen the telerik window.

I'll give an example:
This is the code available in the telerik Blazor guides:
<TelerikButton OnClick="@OpenWindow">Open Window</TelerikButton>

<TelerikWindow @ref="WindowRef" @bind-Visible="@WindowVisible">
    <WindowTitle>
        Window Title
    </WindowTitle>
    <WindowActions>
        <WindowAction Name="Close" />
    </WindowActions>
    <WindowContent>
        <p role="status">Current count: @CurrentCount</p>
        <TelerikButton OnClick="IncrementCount">Increment Count</TelerikButton>
    </WindowContent>
</TelerikWindow>

@code {
    private TelerikWindow? WindowRef { get; set; }

    private bool WindowVisible { get; set; }

    private int CurrentCount { get; set; }

    private void IncrementCount()
    {
        CurrentCount++;

        WindowRef?.Refresh();
    }

    private void OpenWindow()
    {
        WindowVisible = true;
    }
}

If
- I open the telerik window and increase the counter to 5
- I close the window
- I click on the button again, the window does not show me the count at 0 but at 5.

I would like to know if there is a simple way to recreate from scratch the telerik window every time it is called, without keeping the previous state.

P.S.
I would not want to worry about manually resetting the fields every time I open the telerik window

Thanks
Stefano
Top achievements
Rank 1
Iron
 answered on 16 Apr 2025
1 answer
64 views

I have a scenario where I need to shift the position of TelerikTextBox's `k-input-inner` element using the CSS properties`top` and `left`. This works fine until I use FocusAsync() to programmatically focus on the textbox. This causes the textbox to reset its position and disregard the position styling.

Please see the REPL link below. To reproduce, click on the "Focus" button and observe how the placeholder shifts.

https://blazorrepl.telerik.com/wTkelobC56YIRoZL13

 

To note, the desired view is with the input text position shifted from the original position like so:

Hitting tab reverts it to the original positioning which is undesirable:

Tsvetomir
Telerik team
 answered on 15 Apr 2025
1 answer
63 views

Hi Team,

I don't want to show filename extension while showing file in FileView. Can we do it?

Is it mandatory to give "ExtensionField" in FileManager?

Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
 answered on 14 Apr 2025
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
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
Bronze
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?