Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UserAdmin breaks when dropped in Master File
Message
From
17/03/2010 14:14:51
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
17/03/2010 13:09:09
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01455136
Message ID:
01455159
Views:
42
>Hi,
>
>I am trying to make the UserAdmin.aspx fit in with the look and feel of my application. However, when I change its master page to my own master page which has a form on it, then remove the form reference from the UserAdmin stuff, it displays properly, but clicking on th elist of users results in a null user PK being selected so the code to display the user data breaks.
>
>What can I do to fix this?

It has to do with this line in the page load
this.lstUsers.SelectedValue = Request.Form["lstUsers"];
The problem I think is the Form referenced here is actually in the Master page now. Maybe a better question would be how to accomplish that same thing without using the Request.Form["lstUsers"] to get it.
Tim
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform