Editor for Currency field

3 posts, 0 answers
  1. Peter
    Peter avatar
    27 posts
    Member since:
    Jul 2019

    Posted 07 Aug 2019 Link to this post

    Your demo shows how an inline and popup editor works for a currency field:

    https://demos.telerik.com/aspnet-mvc/grid/editing-inline

    I can't tell from your demo how you are presenting the edit input box.   In particular, the edit field shows with a $ and limits the user to entering digits and a decimal.

    Are you applying specific attributes to the model?   The model.cs is not included in the demo.   

    Thanks

    Peter

  2. Peter
    Peter avatar
    27 posts
    Member since:
    Jul 2019

    Posted 08 Aug 2019 Link to this post

    I downloaded the demos, it was a combination of Shared\EditorTemplates and property attribute.

    The demo on your web doesn't mention either.

     

  3. Viktor Tachev
    Admin
    Viktor Tachev avatar
    2497 posts

    Posted 09 Aug 2019 Link to this post

    Hi Peter,

     

    Thank you for the feedback. Description about the currency editor is not included in the example as this is a feature specific to the framework and not the Grid widget. Nevertheless, we will consider including additional information in our resources.

    With that said, if you would like more information on how custom editors can be used for bound properties you would find the article below interesting.

    https://docs.telerik.com/aspnet-mvc/helpers/grid/templating/editor-templates#create-custom-editors-for-bound-properties

     

    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