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

Dynamic RadPageView

1 Answer 58 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Pooja
Top achievements
Rank 1
Pooja asked on 05 Feb 2012, 03:09 AM
Hi, I am referring to this online demo for adding of usercontrols to radmultipage dynamically.
http://demos.telerik.com/aspnet-ajax/tabstrip/examples/applicationscenarios/dynamicpageview/defaultcs.aspx 

here the control path is saved in radpageview id property, but in my case control path could be long, so I don't want to save it in ID field. Is there any other property I can use.

I tried using Attribute collection, but I am getting that collection as empty in 
RadMultiPage1_PageViewCreated

1 Answer, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 07 Feb 2012, 01:19 PM
Hi Pooja,

I would suggest that you you use a custom attribute and apply it to the RadPageView control where you can assign the path. I am not quite sure why you get this attribute to be null in the PageViewCreated event. When I tested it, it seems  that it takes the correct value that was previously assigned (take a look at the attached images).

All the best,
Kate
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
TabStrip
Asked by
Pooja
Top achievements
Rank 1
Answers by
Kate
Telerik team
Share this question
or