TagHelper for Kendo TextBox+For

6 posts, 0 answers
  1. Giuseppe
    Giuseppe avatar
    10 posts
    Member since:
    Jan 2014

    Posted 05 Mar 2018 Link to this post

    Hi

    Does Html.Kendo().TextBox+For have a TagHelper as well? Can't find any documentation about it.

     

    Thanks

    Giuseppe

     

  2. Veselin Tsvetanov
    Admin
    Veselin Tsvetanov avatar
    1230 posts

    Posted 08 Mar 2018 Link to this post

    Hi Giuseppe,

    Since the R1 SP1 2018.1.221 release, the for syntax is available for a number of Telerk .NET Core TagHelpers. The inputs and the drop-downs in the suite offer such configuration of the widgets. The ComboBox, for example should be configured in the following way:
    <kendo-combobox for="SelectedValue"
                    filter="FilterType.Contains"
                    placeholder="Select ration group..."
                    datatextfield="Text"
                    datavaluefield="Value"
                    bind-to="Model.Items">
    </kendo-combobox>

    Regards,
    Veselin Tsvetanov
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Giuseppe
    Giuseppe avatar
    10 posts
    Member since:
    Jan 2014

    Posted 08 Mar 2018 in reply to Veselin Tsvetanov Link to this post

    Hi Veselin

    Thanks for your reply. Yes for DropDown there's documentation and demo.

    But I was asking about TextBox. I I can't find anything.

    Best,

    Giuseppe

  4. Veselin Tsvetanov
    Admin
    Veselin Tsvetanov avatar
    1230 posts

    Posted 08 Mar 2018 Link to this post

    Hi Giuseppe,

    Currently the Telerik UI for ASP.NET Core suite does not offer a dedicated TextBox or TextboxFor TagHelpers. The MaskedTextBox (<kendo-maskedtextbox for...) with no mask could be used instead:
    <kendo-maskedtextbox for="SelectedValue"></kendo-maskedtextbox>

    Regards,
    Veselin Tsvetanov
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  5. Giuseppe
    Giuseppe avatar
    10 posts
    Member since:
    Jan 2014

    Posted 08 Mar 2018 in reply to Veselin Tsvetanov Link to this post

    Hi Veselin

    Could you put it as a feature request? We kinda use textbox a lot :)

    Best

    Giuseppe

     

     

  6. Veselin Tsvetanov
    Admin
    Veselin Tsvetanov avatar
    1230 posts

    Posted 12 Mar 2018 Link to this post

    Hello Giuseppe,

    Currently, we do not have immediate plans to provide a dedicated TextBox / textBoxFor tag helper. Therefore, I would suggest you to log your idea on our Feedback portal. Based on the support it receives from the community, we will decide on whether to proceed with its implementation or not.

    Meanwhile, you could use the default asp tag helper with the appropriate Kendo class:
    <input asp-for="SelectedValue" type="text" class="k-textbox"/>

    Regards,
    Veselin Tsvetanov
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top