This is a migrated thread and some comments may be shown as answers.

Is there a way tp Raddataform Mask AutoGeneratingField?

1 Answer 86 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 12 Oct 2017, 05:01 PM

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...

 

 

1 Answer, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 17 Oct 2017, 02:30 PM
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 you to write beautiful native mobile apps using a single shared C# codebase.
Tags
DataForm
Asked by
David
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Share this question
or