Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListBox problems
Message
 
À
02/03/2005 15:36:11
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00992047
Message ID:
00992165
Vues:
21
>Chad,
>
>Well, whaddaya know? It actually works! Very strange ... I don't know why setting the .SelectedIndex to 0 prior to setting the DataSource to null would make the difference, but it does. The weird thing is that as soon as you set the DataSource to null, the .SelectedIndex goes to -1 (which I would expect) ... so how the heck does setting it to 0 before it goes to -1 make it work?
>
>Very, very peculiar!!
>
>~~Bonnie

Bonnie,

I'm not real sure either as I am not currently developing in .NET, but I'm glad it works for you too and not just an oddity on my machine. ;)
_________________________________
There are 2 types of people in the world:
    Those who need closure
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform