Telerik Forums
UI for Blazor Forum
1 answer
77 views
Please see the following minimal reproducible example:

https://blazorrepl.telerik.com/GeYMbZQk22cmnlsN33

When adding a new record and editing `Field1`, the validation tooltip and k-invalid styling appear if the user is entering any value that triggers the custom ValidationAttribute.  If the user presses enter, the validation correctly prevents a new record from being created.  However, k-invalid styling is replaced with k-valid styling, and the validation tooltip disappears.

How can the k-invalid styling and validation tooltip persist when the user presses enter with an invalid input?
Hristian Stefanov
Telerik team
 answered on 21 Aug 2024
1 answer
268 views

Hi Telerik,

I'm new to Blazor and I'm encountering an issue with the TelerikGrid component. Here's my problem:

1. I have a TelerikGrid inside a parent container with a max-height style.

2. I've set the Height property of the TelerikGrid to 100%.

3. The grid doesn't seem to conform to the max-height of its parent container.

4. It only works correctly when I set a fixed height on the parent, rather than using max-height.

Is this expected behavior, or could it be a bug? If it's not a bug, how can I make the TelerikGrid respect its parent's max-height? Here's a simplified version of my setup:

https://blazorrepl.telerik.com/cyaMvtYJ27JGxNSB59

Any insights or workarounds would be greatly appreciated. Thanks in advance!

Marcel

Hristian Stefanov
Telerik team
 answered on 19 Aug 2024
1 answer
101 views

I have a wizard that on the first page a user can toggle what all pages they want to access.  It is meant to narrow down the available options to what they need.  When a user turns one of the options off, I disable that page.  I don't hide it because the functionality with the add/remove pages tends to put the newly added pages at the bottom of the wizard (which I don't want).

The next problem I run into is the functionality of the Previous / Next Buttons.  If the next or previous page is disabled, the relative button is also disabled.  Which means the user now has to click the actual step instead of clicking next.

I attempted to add my own buttons but without access to the individual steps like the default buttons have I can't determine if the steps are disabled or not.  My goal is to click the "Next" or "Previous" button and determine what the next available step (if it is non-linear) is instead of forcing the user to figure out they need to click the step in the stepper section.

There is a hack to get around this, but the business logic is not ideal, and it is very rigid.  I would prefer not to go this route.  The work around is checking all the possible combinations of variables that control the disabled option for each page.

Dimo
Telerik team
 answered on 15 Aug 2024
1 answer
221 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
99 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
97 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
85 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
460 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
101 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?