Thousand separator not working

2 posts, 0 answers
  1. Stephen
    Stephen avatar
    11 posts
    Member since:
    Aug 2010

    Posted 03 Feb 2012 Link to this post

    I need to display a comma in my thousands separator. The below should work but it puts a space as the separator?

    <telerik:GridViewDataColumn DataMemberBinding="{Binding BulkPickup, StringFormat='{}{0:n}', Mode=TwoWay}" Width="80">

     

    <telerik:GridViewDataColumn.Header><TextBlock Text="Bulk Bank Pick Up" TextWrapping="Wrap"/></telerik:GridViewDataColumn.Header>

     

    </telerik:GridViewDataColumn>


  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 03 Feb 2012 Link to this post

    Hello,

     If standard format string are applicable for your scenario you can assign custom IValueConverter for the this Binding. Please check this article for more info about IValueConverter.

    All the best,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top