Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Populating a control that appears multiple time on a pag
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00717854
Message ID:
00717863
Vues:
17
In the one article that comes up in google,
http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemwindowsformslistviewitemclassclonetopic.asp
I 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
Douglas Osborne
Don't spend your life just wishing - http://www.AllGiftRegistry.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform