This is a migrated thread and some comments may be shown as answers.

HtmlHelper Encouraged/Discouraged?

1 Answer 39 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Joel
Top achievements
Rank 2
Iron
Iron
Iron
Joel asked on 28 Mar 2019, 02:39 PM
It seems from your examples and from the dojo tool that the use of the HtmlHelper isn't the preferred way to do things.  Can someone who knows which way this ship is sailing comment on your direction?  Is this the preferred way?  If not, what is the preferred way?

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 02 Apr 2019, 10:21 AM
Hi Joel,

Based on your comment I guess that you are referring to the jQuery widgets and the MVC wrappers. The dojo tool is a playground that can be used for trying out different configurations. Since the dojo works entirely in the browser it is compatible for the Kendo jQuery widgets. 

However, there is no preferred option when it comes to using the Kendo components. If you have an MVC or Core application you can use the HtmlHelpers as they are using Razor syntax. The wrappers will generate the respective HTML and script that will be serialized to the client-side. In case you prefer JavaScript syntax you can use that approach and define the widgets using JavaScript.

Regards,
Viktor Tachev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
General Discussions
Asked by
Joel
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Viktor Tachev
Telerik team
Share this question
or