I am trying to add a dynamic user control through a dynamic RadPageView using the example from DynamicPageView. The problem I am having is when I put in the PageViewCreated code, I get an error telling me that multiple controls with the same id exist. I do not add the RadPageView on page load. It gets added when an event is triggered on the page. I ran a test and made sure the event wasn't being called twice.
One thing I am doing differently from the example I referenced is that I'm creating the UC when I create the RadPageView in my code. The reason I have to do this is I have a RadGrid on my UC for which I set the data source.
One thing I am doing differently from the example I referenced is that I'm creating the UC when I create the RadPageView in my code. The reason I have to do this is I have a RadGrid on my UC for which I set the data source.