Telerik Forums
UI for Blazor Forum
1 answer
86 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
169 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
823 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
107 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
251 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
60 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
420 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
2 answers
400 views

HTML for textarea does not contain the data bound to it-- how is this being displayed in the browser and is there any way to see the contents of the textarea via the html?  When i inspect the html for a text area it doesn't contain the actual data-- it contains a data id reference (I'm assuming this).  I am trying to "export" an html page using JavaScript code like this:

document.getElementsByClassName('targetForExport')[0].outerHTML

I have also used innerHTML and it doesn't matter.

 

BUT there is no data in the textareas and the datepickers.  Ultimately i'm trying to export a page (set of html elements really) to a PDF format.  The only real catch i'm running into is the data simply isn't there.

 

Thanks.

Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
 answered on 26 Aug 2021
1 answer
318 views

Hi, I have a Blazor WASM project that uses TelerikTextArea components in its pages, and I noticed it took a massive performance hit when we added a <DataAnnotationsValidator /> to the EditForms on these pages. To verify if this was just our project or not, I created a new Wasm Blazor app and added:

  • A new Razor Component with an EditForm
  • a class with 4 strings, 2 with [Required} annotations, set to be the model of the editform
  • 4 TelerikTextAreas in the form for each of the strings in the model
  • a <DataAnnotationsValidator />

Without the <DataAnnotationsValidator /> I did not see any performance issues filling out these textboxes, but with it added to the form there is an obvious stutter when typing in these textareas. If I increase the number of text areas the stutter gets worse, freezing up the page for 10-15 seconds at the worst. I cloned this Component and changed all of the TelerikTextAreas to InputTextAreas and the performance issues are gone.

I recorded the performance of the page with the Chrome dev tools and noticed that Event: keypress Handler takes far longer to resolve than if the <DataAnnotationsValidator /> is removed or InputTextAreas are used. 

The stutter is mildly inconvenient on this test page I created, but in a larger existing component adding validation to the forms has rendered these Telerik components just about useless. Has anyone else encountered these serious performance issues?

Nadezhda Tacheva
Telerik team
 answered on 05 Jul 2021
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?