Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UserAdmin breaks when dropped in Master File
Message
De
26/03/2010 08:52:50
 
 
À
17/03/2010 15:28:25
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01455136
Message ID:
01457413
Vues:
29
>>>>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
>>
>>Maybe I'm not understanding how the master pages work, but isn't it just like a template that gets used so the form will actually end up in the actual page?
>
>That is the question and there must be some difference since it works without the master but not with it. I was hoping Paul would chime in and help with this one. Otherwise there is probably another way to get the same result.
>Tim

Hi Tim,

I haven't seen any response from Paul. Have you managed to get around this problem yet?
Frank.

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

Click here to load this message in the networking platform