Is there a way tp Raddataform Mask AutoGeneratingField?

2 posts, 0 answers
  1. David
    David avatar
    8 posts
    Member since:
    Oct 2017

    Posted 12 Oct Link to this post

    Is there a way to create a maskeditfield when using AutoGeneratingField on a DataForm?  

    I see one example of switching to a new field type in your documentation:

    e.DataField = new DataFormNumericUpDownField() { Label = e.DataField.Label, DataMemberBinding = e.DataField.DataMemberBinding };

    However DataFormNumericUpDownField does not seem to exist not to mention it does not sound like the type of field I am looking for.

    Is there a way to switch to a Mask Edit control in the AutoGeneratingField event?

    If so, can you show an example of this?

    Thanks...

     

     

  2. Vladimir Stoyanov
    Admin
    Vladimir Stoyanov avatar
    55 posts

    Posted 17 Oct Link to this post

    Hi David,

    I am attaching a project which shows how you can create a custom field which is a RadMaskedTextInput with the approach described in the Defining Custom DataFields article when using the AutoGeneratingField event. You can also read more about the different types of MaskedInput Controls in our documentation.

    Do let me know if you find this helpful. Don't hesitate to contact us again if you have any other questions.

    Regards,
    Vladimir Stoyanov
    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top