Switch Templates

2 posts, 0 answers
  1. peter
    peter avatar
    37 posts
    Member since:
    Feb 2011

    Posted 18 Nov 2011 Link to this post

    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?
  2. Pavel Pavlov
    Pavel Pavlov avatar
    2039 posts

    Posted 18 Nov 2011 Link to this post

    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.

    Pavel Pavlov
    the Telerik team

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

Back to Top