Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UserAdmin breaks when dropped in Master File
Message
De
01/04/2010 15:32:13
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01455136
Message ID:
01458437
Vues:
45
>Frank,
>
>As it turns out this is an issue with ASP.NET. The code that retrieves the value from the ListBox really should work, but doesn't when you include the page inside a master page. To get this to work properly, you just need to add one line of code to lstUsers_SelectedIndexChanged():
>
>
try
>{
>    this.lstUsers.SelectedValue = Request.Form[lstUsers.UniqueID];
>    UserPk = this.lstUsers.SelectedValue;
>}
>
>Obviously, you can change this to one line of code and simply retrieve the value using Request.Form[] and then store the value in the UserPK variable.
>
>Best Regards,

Thanks Kevin,

that seems to have done the trick!
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform