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

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

2 Answers 174 Views
PageView
This is a migrated thread and some comments may be shown as answers.
mulan
Top achievements
Rank 1
mulan asked on 03 Apr 2015, 01:54 PM

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 Answers, 1 is accepted

Sort by
0
Accepted
Ralitsa
Telerik team
answered on 06 Apr 2015, 10:57 AM
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.

Regards,
Ralitsa
Telerik
 

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

 
0
mulan
Top achievements
Rank 1
answered on 07 Apr 2015, 11:18 AM
Thank you so much Rali :))))))) 
Tags
PageView
Asked by
mulan
Top achievements
Rank 1
Answers by
Ralitsa
Telerik team
mulan
Top achievements
Rank 1
Share this question
or