Telerik Forums
UI for Blazor Forum
1 answer
165 views

I have a requirement in my project to allow the editing of text files.

The editor doesn't need to be sophisticated, i.e. basic editing functionality, cutting-and-pasting lines, and search and replace text, where the search facility programmatically highlights all the text that can be replaced.

I have tried using the TelerikEditor, with mixed results.

I have made the <p> element behave as an inline element. This makes it look more like a text editor, but you have to hit return twice at the end of each line to start a new line. Also adding a new line after a highlighted word, the highlight "bleeds" across the lines. I suspect there will be other undesirable behaviour as I add functionality.

Is it possible to customise the TelerikEditor in a better way to get the behaviour I require?
Or is there a better component to use?

I notice Telerik advertise a "RichTextEditor", but I assume that is just another name for the Html Editor.

 

Stamo Gochev
Telerik team
 answered on 15 Feb 2023
1 answer
200 views

Is it possible to disable or simply remove the icon for the drag action on a row in a treelist? I have a scenario where the children under specific parent should not be able to be dragged to another parent or change its position withing the parent group.

 

Thanks

Dimo
Telerik team
 answered on 15 Feb 2023
1 answer
173 views

When I try to add a tooltip on this all I get is a small black bubble icon above the control.

<TelerikDatePicker Min="@Min" Max="@Max" @bind-Value="@DTR11_selectedDate"
                               Id="DTR11" DebounceDelay="@DebounceDelay"

                              Title="Check me off to include this in the data!" Class="tooltip-target">
                </TelerikDatePicker>

 

 

Hristian Stefanov
Telerik team
 answered on 14 Feb 2023
0 answers
268 views

When scrolling down in the virtualized combo boxes, anything typed into the text box will reset to the initial value.

 

To see this behavior, visit the combo box doc for virtualization: https://docs.telerik.com/blazor-ui/components/combobox/virtualization.

 

In the Local data example, click preview. Then type “Na” in the input box. Then scroll down in the list of popup options. The “Na” in the input box disappears.

 

In the Remote data example, click preview. Then click inside the input box where it says “Name 1234”. Click backspace a couple times so the input becomes “Name 12”. Then scroll down in the list of popup options. The input resets to “Name 1234”.

 

The same behavior happens in the remote data example for the multi column combo box: https://docs.telerik.com/blazor-ui/components/multicolumncombobox/virtualization 

 

Is there a way to prevent the typed input from resetting when the user scrolls?

Andrew
Top achievements
Rank 1
 asked on 14 Feb 2023
1 answer
511 views

I'm trying to create a DataSourceRequest that has several filters that I am creating and inserting into a CompositeFilterDescriptor. One of those filters is an integer data type. When I have the DataSourceRequest output the request via  "ToODataString()" the integer filter is treated as a string, i.e. surrounded by single quotes.  This will then not work in my OData endpoint.

How do I specify that this should be an int and not surrounded by single quotes in the output?

 var request = new DataSourceRequest()
 {
     PageSize = 1,
     Skip = 0,
     Filters = new List<IFilterDescriptor>(),
     Sorts = new List<SortDescriptor>(),
     Groups = new List<GroupDescriptor>()
 };
 var cfd = new CompositeFilterDescriptor
 {
     LogicalOperator = FilterCompositionLogicalOperator.Or
 };
var fd = new FilterDescriptor()
    {
        Value = "MyTestValue",
        Operator = FilterOperator.Contains,
        Member = "Status"
     };
cfd.FilterDescriptors.Add(fd);
request.Filters.Add(cfd);

var cfd2 = new CompositeFilterDescriptor
 {
     LogicalOperator = FilterCompositionLogicalOperator.And
 };
 var fd2 = new FilterDescriptor()
 {
     Value =  123456,
     Operator = FilterOperator.IsEqualTo,
     Member = "MyId"
 };

 cfd2.FilterDescriptors.Add(fd2);
 request.Filters.Add(cfd2);
 var query = request.ToODataString();

The "query" then contains something like :
(contains(Status,%27MyTestValue%27)%20and%20(MyId%20eq%20%27123456%27))
or 
(contains(Status,'MyTestValue') and (MyId eq '123456'))
what I need is

(contains(Status,'MyTestValue') and (MyId eq 123456))

How do I get it to form the correct Odata Url?

Dimo
Telerik team
 answered on 14 Feb 2023
0 answers
96 views
Deleted - bug in css
Torben
Top achievements
Rank 2
Iron
 updated question on 14 Feb 2023
1 answer
138 views
deleted

 

 

 

Torben
Top achievements
Rank 2
Iron
 answered on 13 Feb 2023
1 answer
146 views

I am just creating an application with Blazor using Telerik UI for Blazor. It seems that a few properties and methods from former ASP.NET Core version are missing, at least:

  • SeriesDefaults

  • no more "xxx.visual"

  • "OnRender" event

Especially the "visual" function and the "OnRender" event among other low-level API is sorely missed since I have to draw additional things on the charts. Can anyone give me a tip on how to do the same thing with Blazor?

Thanks in advance!

Heiko

Svetoslav Dimitrov
Telerik team
 answered on 13 Feb 2023
1 answer
263 views
Hi, I don't see an OnClick or OnFocus event for the TelerikComboBox. How can I get the TelerikComboBox to open when its body is clicked (i.e., instead of only opening when the down arrow is clicked)? Also need to make sure the click is handled correctly so that the event does not interfere with a click in the Clear box.
Dimo
Telerik team
 answered on 13 Feb 2023
1 answer
350 views

I have a grid with stock prices.

The server is listen to a message bus for new prices. Then it send the prices using SignalR to all connected clients.

How can I upgrade the grid so it easy to see which rows has changed? In some programs I have seen some animations effects.

Nadezhda Tacheva
Telerik team
 answered on 10 Feb 2023
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?