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

Set custom data editor for certain properties in XAML

1 Answer 32 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Nico
Top achievements
Rank 1
Veteran
Iron
Nico asked on 08 Feb 2021, 08:38 PM
Hello!
Your auto generated DataForms are awesome, but I need some custom functionality:

For one property I need to set an Image with the camera.
I already implemented that functionality with native xamarin forms components, but I have no idea how to integrate it in the data form.

If I refer to your BalzorGrid (Telerik UI for Balzor) Component, there is an option where I can autogenerate all base stuff and overwrite some properties to implement custom functionality.

I´m searching something like this.

Is there a way to let the main elements autogenerate and to define an other xaml code for e.g. a byte[] or a foreign key (dropdownlist with database query)?

Thank you for your support an best regards!
Nico 

1 Answer, 1 is accepted

Sort by
0
Lance | Manager Technical Support
Telerik team
answered on 08 Feb 2021, 09:13 PM

Hi Nico,

Thank you for the kind words!

We do have some guidance to show you how to implement a custom editor. As you suspect you will need to do most of the work here, but the rest will be handled by our interface.

First, please carefully read the Custom Editors documentation. You will notice that we can really only explain the high level and what overrides you can/need to implement. The minimal info present there is just because of the nature of what a Custom Editor is, every editor is different and unique to the implementation.

You will find more concrete help by exploring the several different custom editor examples we've implemented. Here are the resources you can use, please try and follow them  in the order I present (they get progressively more complex).

Documentation - Warm Up & Relevant to your Custom Requirement

Demos

    Further Assistance

    If you would like more direct help, please use your support license and open a Technical Support ticket so that the Xamarin team can directly assist.

    Support 'Pro tip': The more info you can give in the ticket when you open it, the faster they can help. Spending an extra 10 minutes preparing the materials when opening the case can literally save you days of back and forth (attach your code, share screenshots, etc.).

    Regards,
    Lance | Manager Technical Support
    Progress Telerik

    Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

    Tags
    DataForm
    Asked by
    Nico
    Top achievements
    Rank 1
    Veteran
    Iron
    Answers by
    Lance | Manager Technical Support
    Telerik team
    Share this question
    or