Is there any way to get a C1PageView object from the C1MultiPage control? All there seems to be is a way to get the ID of the selected item but no way to get the actual object that is the object for that ID.
Hi David,
Page views are all child controls of a multipage control, to get a page view by index, could use the below code:
C1PageView pv = (C1PageView)this.C1MultiPage1.Controls[index];
HTH.
-jason
Yes, getting the control by the index is very obvious and I already knew that. What would be nice is to be able to get it by the ID of the C1PageView object. Is that possible? If not, then why provide an ID for the C1PageView object if it cannot be used for anything. If the ID cannot be used to get the C1PageView I would suggest putting it into a feature list since it would be very well accepted. Other .NET control providers (Infragistics, Telerik) can get access to the subitems in that manner. Comments?
Use the FindPageView(id) could get the index of the page view.
FindPageView returns an index not the actual C1PageView object. How do I get that?
Never mind. I figured it out.