Telerik Forums
UI for Blazor Forum
0 answers
37 views

I have a TextArea that I need to remove the ability from pressing Enter to go to the new line and instead call a function I have created.
I would however like to keep all other functionality such as Shift+Enter going to a new line.

Here is my TextArea:

<TelerikTextArea Class="no-resize pl-2 mr-2 w-100" @bind-Value="@NewMessage" Placeholder="Type your message" SpellCheck="true"/>

ReverseBLT
Top achievements
Rank 1
Iron
 asked on 06 Jun 2025
1 answer
76 views

Hi, my goal is validate a form and focus telerik widget with validation errors.  

 

Now i can find the element search for class "k-invalid" but how to get the widget reference so i can call the FocusAsync() method?

 

Thanks

1 answer
160 views

Hello,

How I can put the focus via the code to FormItem  in a TelerikForm ?

Nadezhda Tacheva
Telerik team
 answered on 03 Nov 2022
1 answer
262 views

How do I prevent a TextArea from being resized?

Can the character limit be set?

I'm not seeing either in the TextArea parameters in the Overview doc Blazor TextArea Overview - Telerik UI for Blazor

Nadezhda Tacheva
Telerik team
 answered on 01 Nov 2022
1 answer
1.0K+ views

What is the best/easiest way to limit the number of characters and a user can enter into a TextArea?  There is no MaxLength property that I have seen.

 

 

Dimo
Telerik team
 answered on 08 Aug 2022
1 answer
309 views

Hello,

How can i disable default Enter Key behaviour in Inline Grid Edit?

I need to place an TextArea component inside a inline edit row to let user put longer text description in one of the columns. When i try to go to a new line inside TextArea component, clicking enter key is triggering save for the whole inline edit row, making use of TextArea impossible.

Could you help me find a solution for this problem?

Kind regards,

Kinga

 

 

 

Dimo
Telerik team
 answered on 02 Aug 2022
3 answers
351 views

In the TelerikForm Blazor control is it possible to have all the fields auto-generate except for a couple of specific ones?

I have a form that has ~20 fields on it. It autogenerates properly. I would like to add an additional field for notes but want that to be a multiline text area and I want it to span all the columns of the form.  

Is there a way to combine an autogenerated form with a few templated forms?

Svetoslav Dimitrov
Telerik team
 answered on 26 May 2022
2 answers
108 views

I am trying to style the TexArea component.

Unfortunately the class attribute only affects the span wrapper element, Why?

I found that this is expected after reading the manual, so it's not a bug or is it (-.

I ended up using the standard textarea

Martin Herløv
Top achievements
Rank 2
Bronze
Iron
Iron
 answered on 10 Nov 2021
1 answer
657 views

Hi, what is the reason when TelerikTextArea with Autosize=true gets height 0px? I have component containing TelerikTextArea with autosize=true. Using this component directly in Page, TelerikTextArea appears OK (height in style gets correct px value) but using within another component it gets 0px. TelerikTextArea is disabled in this case but when enabled, the same issue (however, after any change/keypress, height gets correct).

 

Best regards

Konrad

 

Marin Bratanov
Telerik team
 answered on 28 Sep 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?