At some point the telerik textbox has become a full widget and it generates a script.
I have a form where I need to have an input and it should look like the telerik textbox. I do not want to use the span / input template I just need to have the input alone.
I know I can define my own styling but I would need just a telerik class on the input that if I change something to be applied to all telerik textboxes.
What I can suggest is to declare an ordinary input field and apply the following classes to it.
Here is an example: https://netcorerepl.telerik.com/wwuNHaEU113MaYqa31
Thus, the input field should appear like a normal Telerik Textbox. However, note that those classes are designed to be used on the span element that wraps the actual input field. With that said, keep in mind that such an approach is not recommended, and we encourage you to use the actual Telerik UI TextBox component.
You are correct, this is one of the requirements when using the Telerik UI components. The component name should be unique. However, I'm afraid there isn't much that can be done in this case. By using the classes I shared in my previous post, you can achieve the same appearance for input fields as the Telerik UI TextBox. If you still want to use the helpers, what you can do to work around this problem is to use a different model which will actually be the same but their property names are different. E.g. Name - DummyName. When the dummy model form is submitted to the server, however, you will need to map it to the original model. I don't know if such an approach would work for you, but it is a possible alternative solution.