Telerik Forums
UI for Blazor Forum
1 answer
91 views

I'm trying to create filter that works on two columns. The first column "IsActive" = true works properly.

I need to have a second filter on a column that filters for all "ParticipantId" that is a nullable integer type
thatis either null or empty.

Logical this would be an And

Currently this is what I have but it does not work. How would I includea filter for a null integer column using AND logic?

var filterDescriptors = new List<IFilterDescriptor> { new CompositeFilterDescriptor{ FilterDescriptors = [ new FilterDescriptor{ Member = "IsActive", Operator = FilterOperator.IsEqualTo, Value = true, MemberType = typeof(bool) }, new FilterDescriptor{ Member = "ParticipantId", Operator = FilterOperator.IsNullOrEmpty, Value = null, MemberType = typeof(int) } ] } };


Dimo
Telerik team
 answered on 14 Aug 2024
1 answer
92 views
I need to add more colors to my charts. The theme builder only has 7 colors. I can see in the exported file that they are in the root under --kendo-color-series a though g. I have tried adding --kendo-color-series-h but my charts won't use that 8th color. I know this is the right place cause i can change the first 7 colors and see that change. So how do I add more colors to the kendo color series? 
Dimo
Telerik team
 answered on 13 Aug 2024
0 answers
82 views

Hello.  Is there a way to override "No Records Available" message while the page is loading, for TalerikLoaderContainer for Blazor?

Found this https://docs.telerik.com/blazor-ui/components/grid/templates/no-data-template, but I was hoping to find something that's specific for loading. 

Haewon
Top achievements
Rank 1
 updated question on 13 Aug 2024
2 answers
447 views

Hi everyone,

I wanted to implement a functionality of Expand/Collapse All. I had the property Expanded in the model which takes the value of true or false. I am changing the value of that property in the model but nothing happens on the interface.

Can you help me please? Can this functionality be implemented?

 

Thank you,

Cipri

Jonathan
Top achievements
Rank 1
Iron
 answered on 13 Aug 2024
1 answer
47 views

Hello,

I am using TelerikScheduler, and the calendar events are generated by Microsoft Graph API. In my current logic, I retrieve an updated list of calendar events every 3 minutes. Scenario would be a user row in scheduler was double clicked, and the scheduler edit popup window is open with SchedulerResource defaulted to the selected user. If during the edit, the drop down for SchedulerResource is switched to another user, but if the updated logic in 3 minutes take place, the SchedulerResource goes back to original selected user from the double click event. Is there a way to keep the currently selected user during my updated list event?

Nadezhda Tacheva
Telerik team
 answered on 13 Aug 2024
1 answer
97 views

Hi,

I just updated my Blazor server app to .net 8 and after that my TelerikDropDownList and TelerikDatePicker are not loading correctly.

 

Before

After

 

Any idea what could be causing this?

Skúli
Top achievements
Rank 1
Iron
 answered on 12 Aug 2024
1 answer
199 views

Hi, 

I have the need to display a tooltip when my TelerikDropDownList is in error mode (css class = 'change-local-dropdown error'). However the tooltip does not show anything and when inspecting the TelerikDropDownList, no html element in the TelerikDropDownList tree has a 'title' property set. This despite me explicitly setting the Title property, as can be seen in the code below.

Here's my code


<TelerikTooltip TargetSelector=".change-local-dropdown.error" />
<TelerikDropDownList Data="@Zones"
                     AdaptiveMode="@AdaptiveMode.Auto"
                     Class="@(string.IsNullOrEmpty(_zoneError) ? "change-local-dropdown" : "change-local-dropdown error")"
                     @bind-Value="@SelectedZoneGuid"
                     TextField="@nameof(Zone.Name)"
                     ValueField="@nameof(Zone.Guid)"
                     Title="My tooltip that I want to display, but it isn't showing up"
                     Width="100%">
</TelerikDropDownList>
Any help is greatly appreciated...
Dimo
Telerik team
 answered on 12 Aug 2024
0 answers
74 views
Al crear una TelerikListView no me marca error en codigo pero al mostrarlo en la pagina me sale este error 

Microsoft.JSInterop.JSException: Could not find 'TelerikBlazor.initListView' ('initListView' was undefined).
Error: Could not find 'TelerikBlazor.initListView' ('initListView' was undefined)

como lo podria solucionar?
Alejandro
Top achievements
Rank 1
 asked on 10 Aug 2024
0 answers
85 views

Blazor C# .Net

I have a vertical bar chart.  The bars represent colors so the labels are like "red", "blue"...

Every time I do a search on the database the color count and values change. Like next time it will be "Yellow", "red"...

I want to draw the labels my self and have the colors as little squares under the name of the color.

Like get from where I am...

to labels like

I tried ChildContent on the ChartCategoryAxis but my function void CustomColorLabelDraw(RenderTreeBuilder builder) does not get the index of the tick, and does not get called as many times as there are bars, and the output if I return a AddMarkupContent of "My test string" ends up above the entire chart and outside the chart.

How does on use a C# function to generate the HTML to render a tick label?

 

Richard
Top achievements
Rank 1
 updated question on 09 Aug 2024
2 answers
210 views
Given the definition of a DateTimePicker component binded with a variable of type DateTime? (pic1.png)

<FormItem Field="@nameof(CronTriggerViewModel.EndAt)">
   <Template>
          <label for="endat" class="k-label k-form-label">@L10n["UI-TRIGGERENDAT"]</label>
          <div class="k-form-field-wrap">
          <TelerikDateTimePicker @bind-Value="@CronTriggerVM.EndAt" Placeholder=" " Id="endat" Format="G"/></div>
   </Template>
</FormItem>
[Display(ResourceType = typeof(Resources.Scheduler), Name = "UI_TRIGGERENDAT")]
public DateTime? EndAt { get; set; } = DateTime.Now.AddDays(1);
Even though the placeholder is set to be empty, when the value is cleared, the placeholder still appears (pic2.png), and the field is marked as invalid even though no validation is configured (pic3.png).

For more details, I have attached an animated gif showing what happens (video.zip).

Is there any way to don't show the placeholder and avoid the input to be mark as invalid? 
Twain
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 09 Aug 2024
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?