Telerik Forums
UI for Blazor Forum
5 answers
667 views

Is it possible to have TreeView in one section of the Drawer and a ListView (with checkable items) in another section, similar to the attached image? I would like to have the ability to filter different tab contents using the same filter pane / drawer, that can be easily hidden or displayed

 

 

Nadezhda Tacheva
Telerik team
 answered on 13 Jan 2021
9 answers
1.3K+ views

Does anyone know of a way to force the ComboBox Popup to have an equal width to the ComboBox itself? My ComboBox doesn't have a fixed width like 300px because I am using it within a Bootstrap column. I have tried setting the Popup width to 100% but that makes it 100% of the whole page not 100% of the ComboBox width. There are some ways I can fudge the Popup width so that it is close to the ComboBox width, but I am looking for a way to have it always match the ComboBox width regardless of the ComboBox size.

 

Any help would be appreciated!

Ivan
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 13 Jan 2021
4 answers
248 views

Hi. I have a TelerikTileLayout with 6 tiles.  5 of them use simple <TileLayoutItem HeaderText="..."> for the headings, but for one I need to use <HeaderTemplate>.

The text I add in the <HeaderTemplate> is not rendered the same size as the text I specify with HeaderText. Presumably I need to either add a span with a particular class, or some other element?

 

Anyone got this working?

Marin Bratanov
Telerik team
 answered on 13 Jan 2021
9 answers
2.1K+ views
01.
@if (_isLoading)
02.{
03.    <TelerikLoader Class="loader-indicator"
04.                   Type="@LoaderType.ConvergingSpinner"
05.                   Size="@LoaderSize.Large"
06.                   Visible="true"></TelerikLoader>
07.}
08.else
09.{
10.    <TelerikGrid Data="@_identities"
11.                 AutoGenerateColumns="true"
12.                 PageSize="50"
13.                 ScrollMode="@GridScrollMode.Virtual"
14.                 Height="460px"
15.                 RowHeight="60">
16.        <GridToolBar>
17.            <GridSearchBox />
18.        </GridToolBar>
19.    </TelerikGrid>
20.}
21. 
22.@code {
23.    List<IdentityDTO> _identities;
24.    public bool _isLoading { get; set; }
25. 
26.    protected override async Task OnInitializedAsync()
27.    {
28.        await LoadData();
29. 
30.    }
31.    async Task LoadData()
32.    {
33.        _isLoading = true;
34.        _identities = await _service.GetIdentities();
35.        _isLoading = false;
36.    }
37.}

 

Am I missing something basic here? Why wouldn't the loader be showing?

 

Nadezhda Tacheva
Telerik team
 answered on 12 Jan 2021
1 answer
293 views
Is there a way to make the tooltip accessible? It seems only activated by hover or click. It would be enough I think if I could hit enter to activate and deactivate.
Marin Bratanov
Telerik team
 answered on 12 Jan 2021
3 answers
1.5K+ views

Hello,

I have a MultiSelect component used to select tags. It works as intended, but I have one problem I can't find any workaround for :

If the user inputs a text that isn't part of the data list, they can't "select" that value, unlike in a ComboBox for example where the data List "guides" you without restricting what you write.

I have found no parameter that allows custom values, and I haven't been able to extract at all the raw text.

To illustrate, here's a screenshot :

I'd like to add / "select" a new value called "newTag" that is NOT part of the data list.

When trying to retrieve the input value from the component (via 2-way binding or onChange event) , I only get a List<string> containing all selected/valid items, in this case a list with only "existing tag".

I can't find a way whatsoever to retrieve that "newTag" text, it would probably solve the problem because then I could work around the lack of custom input permission in the OnChange event by adding dynamically "newTag" to the dataList, thus making it a valid value to select.

Please help me find a way to implement custom inputs.

Best regards

John
Top achievements
Rank 1
 answered on 08 Jan 2021
1 answer
807 views

I have an update event but how can I tell the grid the update didn't work out and everything has to be cancelled,

This code doesn't work.

private static async Task MainGridUpdateHandler(GridCommandEventArgs args)
       {
           var item = (EmployeeClusterVM) args.Item;
           if (item.EndDate <= item.StartDate)
           {
               args.IsCancelled = true;
           }
           try
           {
               EmployeeClusterLogic.UpdateEmployeeCluster(item);
           }
           catch (Exception e)
           {
               args.IsCancelled = true;
           }
       }
Marin Bratanov
Telerik team
 answered on 08 Jan 2021
3 answers
850 views
I typically use the mask to prevent the user from entering in "bad" characters. Is this possible with MaskTextBox? I only saw a handful of predefined rules. I know I can use validation too. Perhaps the best method is to notify the user their input is bad AND not allow it to be inputted...
Marin Bratanov
Telerik team
 answered on 07 Jan 2021
4 answers
973 views

I'm finding the default font size as well as the overall amount of white space around the controls to be a bit much.  I'm trying to produce a much more condensed interface with a smaller font and less margins/padding.

I've been inspecting all of the rendered UI elements in an attempt to figure out the most efficient way to accomplish this but my head is spinning.  So far my assessment is that I'm going to have to do this one component at a time.  And even with that approach I'm struggling. 

For example, I've reduced the font size to 12px but the date picker remains the same size but with the smaller font.  Not quite what I was going for.  

I feel I could spend weeks trying to figure out every single "k-" class that I will need to override.

I was hoping the theme builder would allow me to pick a font size/family as well as options to adjust margins/padding around the elements but that doesn't seem to be the case.

Any suggestions?  Where am I going wrong?

Jeffrey
Top achievements
Rank 2
Iron
Veteran
Iron
 answered on 07 Jan 2021
1 answer
348 views

Hi Team,

I have more than 10000 items, after click on TelerikMultiSelect  control it is taking 5 seconds to load the popup. 
Do we have TelerikMultiSelect with Virtual scroll or Paging? 

Marin Bratanov
Telerik team
 answered on 07 Jan 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?