Telerik Forums
UI for Blazor Forum
1 answer
360 views

Looking to leverage the Required data annotation on the model to apply an asterisk or other required field indicator to a FormItem's label. Is there a way to apply an html attribute/class to a FormItem automatically, that could then be used to append an asterisk to its label? Trying to avoid the need of marking Required both in the model and the UI.

Dimo
Telerik team
 answered on 15 Aug 2024
1 answer
185 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
140 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
140 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
503 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
86 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
138 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
327 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
119 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
156 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?