Dynamic RadPageView

2 posts, 0 answers
  1. Pooja
    Pooja avatar
    55 posts
    Member since:
    Feb 2011

    Posted 04 Feb 2012 Link to this post

    Hi, I am referring to this online demo for adding of usercontrols to radmultipage dynamically.

    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 
  2. Kate
    Kate avatar
    1898 posts

    Posted 07 Feb 2012 Link to this post

    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,
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top