HtmlHelper Encouraged/Discouraged?

2 posts, 0 answers
  1. Joel
    Joel avatar
    209 posts
    Member since:
    Jun 2018

    Posted 28 Mar 2019 Link to this post

    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?
  2. Viktor Tachev
    Admin
    Viktor Tachev avatar
    2500 posts

    Posted 02 Apr 2019 Link to this post

    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.
Back to Top