GridViewMaskedTextBoxColumn how does it work

4 posts, 1 answers
  1. Anton Swanevelder
    Anton Swanevelder avatar
    28 posts
    Member since:
    Aug 2008

    Posted 02 Jul 2010 Link to this post

    Hi,

    Is there some documentation available on how the GridViewMaskedTextBoxColumn works?

    The following does nothing for display, is there some examples somewhere?

     

    <telerik:GridViewMaskedTextBoxColumn DataMemberBinding="{Binding AuditDateCreated}" Header="Date" Width="100" HeaderCellStyle="{StaticResource GridViewHeaderCellStyle1}"  Mask="yyyy-MM-dd" MaskType="DateTime"/> 

     

    Lastly will this column work for displaying a Date in a certain format or do I need to use a IValueConverter?

    Thanks

  2. Answer
    Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 02 Jul 2010 Link to this post

    Hello Anton,

    You can find a help article abut the GridViewMaskedTextBox column here.

    More info about the RadMaskedTextBox is available here.

    Let me know if you face any specific problem.

    Kind regards,
    Veskoni
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Anton Swanevelder
    Anton Swanevelder avatar
    28 posts
    Member since:
    Aug 2008

    Posted 02 Jul 2010 Link to this post

    Thanks that is great!

  5. BILL
    BILL avatar
    4 posts
    Member since:
    Oct 2011

    Posted 14 Jan 2013 Link to this post

    this example is sparse and not helpful, I am using the following
    <telerik:GridViewMaskedTextBoxColumn Header="Mileage" DataMemberBinding="{Binding Path=Mileage, Mode=TwoWay}" MaskType="Numeric" Mask="d" DataFormatString="{}{0:d}" GotFocus="GridViewMaskedTextBoxColumn_GotFocus" LostFocus="GridViewMaskedTextBoxColumn_LostFocus" />
    and it shows nothing in the initial text box till I go to edit it...
    because if you cannot initially show bound data without having to override the class then this control is useless.
Back to Top