Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UserAdmin breaks when dropped in Master File
Message
From
01/04/2010 15:32:13
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01455136
Message ID:
01458437
Views:
44
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform