How to make column of Grid for the password

3 posts, 0 answers
  1. Leonid
    Leonid avatar
    12 posts
    Member since:
    Oct 2012

    Posted 17 Oct 2012 Link to this post

    Hi

    How to make column of Grid for the password in a kind " *****  "

    @(Html.Kendo().Grid(Model)
        .Name("Grid")
        .Columns(columns =>
                     {
                         columns.Bound(p => p.password)
    ...


  2. Gal
    Gal avatar
    48 posts
    Member since:
    Apr 2009

    Posted 23 Dec 2015 Link to this post

    In regard to the field in edit mode ther eis this link:  

    https://www.roelvanlisdonk.nl/?p=3273&cpage=1#comment-325120

     In regard to the viewing mode you need to set the template to somthing like this:

     <span>#: UserPassword == null ? ' ' : '●'.repeat( UserPassword.length) #</span>

  3. Kendo UI is VS 2017 Ready
  4. Eyup
    Admin
    Eyup avatar
    3015 posts

    Posted 25 Dec 2015 Link to this post

    Hello Gal,

    Thank you for sharing your suggestion with our community. Here is a live MVC sample with columns.Template(...) approach:
    http://demos.telerik.com/aspnet-mvc/grid/rowtemplate

    Also, there is a public feedback item you can vote for:
    http://kendoui-feedback.telerik.com/forums/127393-telerik-kendo-ui-feedback/suggestions/3770165-password-column-in-kendo-grid

    Hope this helps.

    Regards,
    Eyup
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top