Telerik Forums
UI for Blazor Forum
1 answer
189 views

Hi, I have a grid with a nullable TimeSpan column.  When exporting to Excel the format shows as 09:02:39.  I'd like it just to be 09:02. In OnExcelBeforeExport I have args.Columns[3].NumberFormat = BuiltInNumberFormats.GetHourMinuteAMPM(); but it has no effect.  Should it?

Nadezhda Tacheva
Telerik team
 answered on 14 Mar 2023
1 answer
497 views

I have the following buttons

When I press enter nothing happens

<DialogButtons>
<TelerikButton OnClick="@(() => { IsModalVisible = false; })">Cancel</TelerikButton>
<TelerikButton OnClick="@(() => { IsModalVisible = false; CreateTrade();})" ButtonType="ButtonType.Submit" ThemeColor="@ThemeConstants.Button.ThemeColor.Primary">Create Trade</TelerikButton>
</DialogButtons>

Dimo
Telerik team
 answered on 14 Mar 2023
1 answer
294 views

How can I download a Telerik SVG icon and use it in my manifest file?

I have created a shortcut menu and would like to use the following icons on the menu items

k-i-eye,  k-i-track-changes-accept, trade k-i-file-add.

I know how to use the Telerik icons in code. But for this I need to have them in www/images

Twain
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 13 Mar 2023
1 answer
238 views
I am using Blazor UI.  Tabstrip was working, but suddenly now they are stacked on top of each other. Attached is what the tabstrip looks like.  There are 3 tabs (TOP/HORIZONTAL).  The UI still responds but isn't desirable.  What is causing this issue? Is this related to licensing?
Yanislav
Telerik team
 answered on 13 Mar 2023
1 answer
281 views

Is there a way to enable an email button on the Viewer control? A client of ours was asking.

Thank you!

Yanislav
Telerik team
 answered on 13 Mar 2023
1 answer
103 views
Has anyone added American Disabilities Act (ADA) features to controls? 
Nadezhda Tacheva
Telerik team
 answered on 13 Mar 2023
0 answers
150 views

Hi

Im using the OnRead event to display data in the autocomplete which works fine as expected for remote data.

What I want to do is display the drop down when the application starts to show some local search results without typing in any text. The OnRead event does fire as it should when the component init runs and ive confirmed the data collection has data in it but the dropdown doesnt open up to show any data unless some text is entered.

Is what im wanting to do possible please?

Phil

Phil
Top achievements
Rank 1
 asked on 12 Mar 2023
1 answer
205 views
Any reason why I can't get 100% width inside the GridToolBarTemplate?
        <GridToolBarTemplate>
            <div class="container-fluid">
                <div class="row">
                    <div class="col-6">
                          My stuff on the left
                    </div>
                    <div class="col-6 text-end">
                        My stuff on the right
                    </div>
                </div>
            </div>
        </GridToolBarTemplate>

Ivan
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 12 Mar 2023
1 answer
125 views

Hi, 

I have a question.  I had a grid which EditMode is Incell and a column had "Editor Template". In this column - "Email", I tried to edit a cell by clicking both left and right mouse, and both of it worked at same way. I used Grid State to edit cell by right mouse clicking.

The problem is: I want to disable edit mode by left click, the cell will edit if it was clicked by right mouse only. 

Many thanks.

    <TelerikGrid Data="@ListUser"
                 ColumnVirtualization="true"
                 Width="100%"
                 Height="inherit"
                 Sortable="true"
                 Resizable="true"
                 OnCancel="@Rebind"
                 OnDelete="@DeleteItem"
                 EditMode="@GridEditMode.Incell"
                 OnEdit="@EditColumnView"
                 OnUpdate="@UpdateHandler"
                 FilterMode="@GridFilterMode.FilterRow"
                     @ref="@GridRef">

        <GridColumns>
                <GridColumn Field="@(nameof(VwModiFyUser.Email))" Editable="@edit_Permission" Title="Email" Width="21%" >
                    <Template>
                        @{
                        VwModiFyUser item = context as VwModiFyUser;

                            <div @oncontextmenu:preventDefault="true" @oncontextmenu="@(()=>{CurrentUser_Name = context as VwModiFyUserEdit_Email2(CurrentUser_Name.RoleuserId);})"> @((context as VwModiFyUser).Email) </div>
                        }
                    </Template>
                    <EditorTemplate>
                        @{
                            VwModiFyUser item = context as VwModiFyUser;                         
                            <TelerikTextBox @bind-Value="item.Email" OnChange="@(()=>Edit_Email(item.RoleuserId))" OnBlur="@CloseEditorAndSave" Width="100%" /> 
                        }
                    </EditorTemplate>

    private async Task Edit_Email(int RoleUserID)

    {
        var currState = GridRef.GetState();
        VwModiFyUser originalItem = List_User.Where(i => i.RoleuserId == RoleIDUserID).FirstOrDefault();
        VwModiFyUser itemToEdit = originalItem;
        currState.EditField = "Email";
        currState.EditItem = itemToEdit;
        currState.OriginalEditItem = originalItem;
        await GridRef.SetStateAsync(currState);
    }                                         
Dimo
Telerik team
 answered on 09 Mar 2023
1 answer
260 views

Hi,

Is is possible to configure the GridSearchBox in the TelerikGrid Toolbar, so that it searches when the user presses ENTER/RETURN instead of after every key press?

Dimo
Telerik team
 answered on 09 Mar 2023
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?