How to Create New Page in Run time, Which Contains Elements or Layout ?

3 posts, 1 answers
  1. mulan
    mulan avatar
    2 posts
    Member since:
    Mar 2015

    Posted 03 Apr 2015 Link to this post

    hi :)

    i'm a newbie to pageviews. can you please tell, how to create new tab in page views which contains elements?
    ex:     when i click "Items" button it should open a new tab in pageviews with name "Add Items" <( I've done this part, working fine!)>

    and it should contain, item related elements, like item name label and textbox to enter in etc... how to do this? i dont know how to put elements in newly generated tab.     

    screenshot6 => radpageviewpage1 created in VS

    screenshot8 => Add Item page created in run time, how define its layout? 

    thanks in Advance :)

  2. Answer
    Ralitsa avatar
    175 posts

    Posted 06 Apr 2015 Link to this post

    Hi Suzie,

    Thank you for contacting us. 

    You can subscribe to the NewPageRequested event and add the elements in its handler. Please refer to the following article for more information - PageView >> StripView >> New Item

    In the attachments you find a sample project which demonstrates how to add an user control. 
    Hope this will help you. Let me know if you have any other questions.


    See What's Next in App Development. Register for TelerikNEXT.

  3. DevCraft banner
  4. mulan
    mulan avatar
    2 posts
    Member since:
    Mar 2015

    Posted 07 Apr 2015 in reply to Ralitsa Link to this post

    Thank you so much Rali :))))))) 
Back to Top