Help with multiview control needed!!
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi there.. I wish to create a mutiview control and then want to dynamically add view cotrols to it while the webpage is displayed. The problem is that when I do this and run my webform, I get the following error: ActiveViewIndex is being set to '0'. It must be smaller than the current number of View controls '0'. For dynamically added views, make sure they are added before or in Page_PreInit event. I did create the view controls in the Page_Load() function and then added them to the Views property of the multiview Cotrol object.. How can I fix this... Thank u!!