>>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.
Hi Paul,
I have run into the same thing and typically do it exactly as you have specified. The problem I would think is the line of code is referencing the form object. In a master that is different. Any ideas on what would work better? This line is in the page load event by MM default. After you use this page with a master this no longer works.
this.lstUsers.SelectedValue = Request.Form["lstUsers"];
Timothy Bryan