Building forms for models hierarchies

2 Answers 103 Views
Form
Twain
Top achievements
Rank 2
Iron
Iron
Iron
Twain asked on 11 Oct 2022, 04:26 PM

In certain situations I need to create forms based on hierarchical models.  Initially let's assume something simple like:

ClassA may have many common properties (and complex ways to edit them) and consequently I would like them to be reused when creating the forms for ClassB and for ClassC. 
What do you think is the best solution? At the moment with the different attempts that I have made have not been satisfactory. 

Greetings.

 

 

 

2 Answers, 1 is accepted

Sort by
0
Svetoslav Dimitrov
Telerik team
answered on 14 Oct 2022, 11:28 AM

Hello Marcos,

You can go through the Validation article and the Validate a Complex Model section to see how to validate a hierarchical class. 

Let me know if you have any further questions or if I misunderstood your question.

Regards,
Svetoslav Dimitrov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

0
Twain
Top achievements
Rank 2
Iron
Iron
Iron
answered on 23 Dec 2022, 02:21 PM
Hi Svetoslav. 

Thank you for link. It was very usefull. 

And excuse for my late reply. I 've been away for the last two months. 

Regards. 
Marcos.
Stamo Gochev
Telerik team
commented on 26 Dec 2022, 05:16 PM | edited

Hi Marcos,

I am glad to hear that the suggestion from my colleague Svetoslav has helped you. Please write back if you have any further questions.

Regards,
Stamo Gochev
Progress Telerik

Tags
Form
Asked by
Twain
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Svetoslav Dimitrov
Telerik team
Twain
Top achievements
Rank 2
Iron
Iron
Iron
Share this question
or