Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UserAdmin breaks when dropped in Master File
Message
 
À
29/03/2010 09:39:33
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01455136
Message ID:
01457865
Vues:
35
>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.
rk, but isn't it just like a template that gets used so the form will actually end up in the actual page?
>

I don't have a machine to test this out on, but it sounds like you might not have switched everything over correctly. UserAdmin isn't based on a master page so it's not just a matter of changing the page referenced in top of the ASPX file. You may want to recreate it, instead of changing it:

- Create a new MM.NET Web Business Form, make sure you select the option to Select master page, then select the correct one.
- Open the old ASPX page and copy everything between the <form> tags and paste them into the Content section of your new UserAdmin form.
- Open the code-behind of the old UserAdmin page and copy the properties and methods. Paste them into your new form.

Then try running the page.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform