Telerik Forums
UI for Blazor Forum
1 answer
179 views

I have a text box user can type or paste a value into.

A hidden button should appear once a value is in the box.

The thing that's happening is after the value is pasted in, no button. user has to press a button in the textbox for the button to appear.

Now the really strange thing is I put the pages code in your https://blazorrepl.telerik.com/ tool and it appears to work.

Just not in my main project or a test project using just the sample project app code that gets made when you create a blazor server project.

I have include the code I have stuck in your tool, in the txt file, and my sample project in the zip file.

The page in the project is: CopyNPasteTest.

Would love to know whats going on.

Thanks.

Deasun.

Nadezhda Tacheva
Telerik team
 answered on 25 Oct 2022
1 answer
162 views
I want to prevent user to deselct one of grid rows. Grid has check box sellection turned on. Grid purpose is an users sellection for an application role. I want user to be unable to remove Administrator user from Administrators role by deselecting it. Now, in SelectedItemsChanged event i'm exammining selected users collection for Role is Administrators and user Administrator not present in sellected users collection. If so, i'm adding it back and submit MySelectedItems = IEnumerable (MySelectedItems is two way bound to SelectedItems of grid) with Administrator user added.  After that, sittuation go a little bit shizophremic. The Administrator user row remains selected on the grid but the CheckBox selector of that user remains deselected...  So, haw to prevent check box sellection of a single row?
Dimo
Telerik team
 answered on 25 Oct 2022
1 answer
48 views

Nice job on Telerik, Kendo UI and Test Studio R3 2022!   I like the PDF Viewer UI Controls.  Question: Any plans to add annotations and comments to client-side .NET Blazor MAUI libraries such as this serverside solution?

Dimo
Telerik team
 answered on 25 Oct 2022
19 answers
1.7K+ views

Hi Marin and happy new year!

I don't know if you can advise, but we've noticed that when selecting multiple rows of the grid (not using the checkbox), the selection seems to be noticeably slow. There seems to be quite a delay when clicking one or more rows (using shift in the latter case) and the highlight colour changing to show the selection.

Our grid is quite complex as we use RowTemplate and a manual datasource, but I notice that there is a similar albeit less pronounced delay in your demo. Any idea what might be causing this?

Kind Regards,
Nick.

<TelerikGrid Data=@Items TItem="Item" Sortable="true" Height="100%" Pageable=true OnRead="@ReadItems"
             PageSize=50 TotalCount=@Total class="viewgrid"
             SelectionMode=Telerik.Blazor.GridSelectionMode.Multiple
             @bind-SelectedItems="@SelectedItems">
    <RowTemplate Context="item">
        @foreach (var viewColumn in ViewDefinition.Columns)
        {
            <ViewGridColumn ViewColumn="@viewColumn" Item="@item" OnDoubleClick="@RowClicked" />
        }
 
    </RowTemplate>
    <GridColumns>
        @foreach (var viewColumn in ViewDefinition.Columns)
        {
            <GridColumn Title="@viewColumn.Label" Field="@viewColumn.FieldName" Width="@(viewColumn.Width + "px")"></GridColumn>
        }
    </GridColumns>
</TelerikGrid>


Hao
Top achievements
Rank 1
Iron
 answered on 24 Oct 2022
0 answers
80 views

I have a filterable virtualized ComboBox, using OnRead to load data.
Pressing TAB while the ComboBox has focus doesn't work, nothing happens.
Shift-TAB works as expected.

Robert
Top achievements
Rank 1
 asked on 24 Oct 2022
0 answers
199 views

I'm running into an issue trying to implement a horizontally scrolling grid in the main content of a page alongside a push drawer. From what I understand, scrolling horizontally requires a fixed width TelerikGrid, but using push mode on a drawer requires the same width to not be set. Currently, if I set a fixed width for the grid, it will always remain at that width, regardless of whether the drawer is expanded or closed. If I don't set a width, the grid will expand to its full width and go off the screen, rather than remaining on the screen and expanding/contracting when the drawer is opened or closed.

Is there a good way to implement horizontal scrolling in a Telerik Grid while still allowing the grid to increase and decrease in width when the drawer is opened/closed?

Carter
Top achievements
Rank 1
 asked on 24 Oct 2022
0 answers
97 views

1. Go to https://demos.telerik.com/blazor-ui/gantt/templates

2. Scroll to the end of timeline horizontally
3. Move mouse pointer to timeline
Tooltip appears in the wrong place



t

Ivan
Top achievements
Rank 3
Iron
Iron
Iron
 updated question on 22 Oct 2022
3 answers
165 views

By default anything is ok



But with enable localization all lables is empty



The TelerikMessages resource file does not contain pointers to the properties of the Gantt component, and has not been updated in over a year!!

Ivan
Top achievements
Rank 3
Iron
Iron
Iron
 updated answer on 22 Oct 2022
1 answer
105 views
I Want to programically clear current sellection from Tree List. How to do that? I tried two way binding with SelectedItems but clearing the collection does not clear sellection in the UI... Need help please.
Dimo
Telerik team
 answered on 21 Oct 2022
2 answers
574 views

Hello,

I need a ComboBox that receives data via databinding (Data="@Series"), selects a value in the combobox via C# code (@bind-Value="SelectedSeries") and then executes (OnChange="@OnComboSeriesValueChanged") a function as if a user had selected a value.

But Telerik does not allow double binding to the control. Who is supposed to understand this!? This restriction is unnecessary!!! My use case is quite normal after all.

Not working example "...'ValueChanged' is used two or more times..."

                <TelerikComboBox Data="@Series"
                             OnChange="@MyOnChangeHandler"
                             ValueChanged="@((string value) => OnComboSeriesValueChanged(value))"
                             @bind-Value="SelectedSeries"
                             TItem="string"
                             TValue="string"
                             AllowCustom="false"
                             Filterable="true"
                             Placeholder="Select a Series."
                             Width="100%"
                             @ref="SeriesComboBoxRef">
                </TelerikComboBox>

 

Thanks for your help

 

Dimo
Telerik team
 answered on 20 Oct 2022
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?