In the one article that comes up in google,
http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemwindowsformslistviewitemclassclonetopic.aspI see:
ListViewItem.Clone()
has promise - but there is no example.
I tried a basic
DropDownList Doug = ListViewItem.Clone(ddl);
But no joy - anyone know the correct way to implement this functionality?
TIA,
Doug
>All,
>
>I have a dropdown which I populate through a call to SQL server via a SqlDatareader. It has approximately 1100 entries.
>
>Can I instantiate 1 control and 'clone' 4 more?
>
>If I cannot do that, what strategy are people using to populate controls with multiple instantiations on a page?
>
>I could pull down a DataSet, push it into a ViewState or a Session variable, and use this to populate all controls since the data is static.
>
>Or should I pull the Data into an XML dataisland and let the information be cached and reused?
>
>What technique is everyone using to accomplish this?
>
>TIA,
>Doug