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

Switch Templates

1 Answer 19 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
peter
Top achievements
Rank 1
peter asked on 18 Nov 2011, 11:44 AM
Hi i have a "NewItemTemplate" and an "EditTemplate" depending on which button is clicked i need to show the relevant one. I have managed to display the "EditTemplate" however I need to no wdisplay the "NewItemTemplate" how do i go about doing this?

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 18 Nov 2011, 02:12 PM
Hello Peter,

When RadDataForm  is bound to a collection allowing adding of new items , it will automatically display an "Add new button".

When the user presses this button  the relevant template would be applied.

Regards,
Pavel Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
DataForm
Asked by
peter
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or