Telerik Forums
UI for Blazor Forum
1 answer
704 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
426 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
347 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
392 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
152 views
Has anyone added American Disabilities Act (ADA) features to controls? 
Nadezhda Tacheva
Telerik team
 answered on 13 Mar 2023
0 answers
207 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

Missing User
 asked on 12 Mar 2023
1 answer
342 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
203 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
409 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
0 answers
340 views

I have an animation container for two fields inside the form. One component is a textbox, but the other components is a grid.

The problem is that grid show up other forms of component. This is for the position of css. 

 

<TelerikAnimationContainer @ref="@tacHeaderJson" AnimationType="@AnimationType.PushRight" style="position: static !important;">
                            <TelerikTextBox @bind-Value="@DataMapHeaders.Value"
                                            Enabled=@Enabled
                                            Id="request-header">
                            </TelerikTextBox>
                        </TelerikAnimationContainer>                        
                        <TelerikAnimationContainer @ref="@tacHeaderTable" AnimationType="@AnimationType.PushLeft" style="position: static !important;">
                                <TelerikGrid Data=@HeadersTable
                                             Width="100%"
                                             EditMode="@GridEditMode.Inline"
                                             @ref="@GridRef">
                                    <GridToolBarTemplate>
                                        <GridCommandButton Command="Add" Icon="@SvgIcon.Plus" Enabled="@Enabled">@Localizer!["Add"]</GridCommandButton>
                                    </GridToolBarTemplate>
                                    <GridColumns>
                                        <GridColumn Field="@nameof(HeaderParameter.Parameter)" Title="@Localizer!["Key"]"></GridColumn>
                                        <GridColumn Field="@nameof(HeaderParameter.Value)" Title="@Localizer!["Value"]"></GridColumn>
                                        <GridCommandColumn>
                                            <GridCommandButton Command="Edit" Icon="@SvgIcon.Pencil" ThemeColor="@(ThemeConstants.Button.ThemeColor.Info)" Enabled="Enabled"></GridCommandButton>
                                            <GridCommandButton Command="Cancel" Icon="@SvgIcon.X" ThemeColor="@(ThemeConstants.Button.ThemeColor.Error)" OnClick="@DeleteHandler" Enabled="Enabled"></GridCommandButton>
                                            <GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true" OnClick="@UpdateHandler" ThemeColor="@(ThemeConstants.Button.ThemeColor.Primary)" Enabled="Enabled"></GridCommandButton>
                                        </GridCommandColumn>
                                    </GridColumns>
                                </TelerikGrid>
                        </TelerikAnimationContainer>

I try this, 

.k-animation-container {
    position: static !important;
    overflow: hidden;
    z-index: 100;
}

But the style overide all style of current page. I have some dropdowns and the show the options in the bottom of the page.

 

Any solution?

 

Best regards

Guillermo
Top achievements
Rank 1
 asked on 08 Mar 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?