Howto: Custom page design Creating your own ASPX page Step-by-step guide
Why? Use Visual Studio to create your own design Easily make AJAX enabled sites Convert existing solutions to E-Site
1. Setup E-Site Download current E-Site setup package from Unzip to c:\inetpub\wwwroot\sitename Setup as application in IIS admin (for IIS7 use classic pool) Initialize site from (More help on
2. Open your website in visual studio
3. Create your own page
... Creating page Select Web Form (or Ajax enabled) Give it a logical name Click Add
4. Change inheritance Your page class should inherit the ”ESiteDisplayPage” class Although it isn’t absolutely required. Beware some of the core UserControls might assume it.
5. Setup your design Add CSS files, cut, copy paste, do whatever Use elements preferably not tables Use XHTML
6. Use the design in E-Site Login to your site Open design & settings Click ”New” Click ”Custom page”
7. Creating custom page Name it Select ASPX file Click ”Save” obviously (If you didn’t know to click save, please just give up now)
9. Set design for your site Click contents Right click some folder or item Click ”Set design” Click your newly created ”Custom page” design
8. Test your page Click ”View web site” Click the folder you just set your design for This page should now run your ASPX page
9. Add user controls Common and recommended controls are: –DisplayPart.ascx –Drag and drop them into the ASPX page –They are all located below the /website/design/part folder
Set the ObjectID property This ID matches your Design part ID in E- Site (See next page...)
Matching design part Check your design parts folder Create matching objects for your user controls Check the ID column for the ObjectID
Errors Some of the controls have. In their name, causing visual studio 2005 to make an illegal name referance
Rename tag referance Rename ”Frame.html” to ”Frame_html”
Also correct the instance Scroll down to the occurring referance Change the. To _ Also correct the id
Voila Back in ”Design” mode No error
10. Page title Set the page title to runat=”server” OnLoad add this: PageTitle.Text = DisplayObj.GetHeade rValue()
11. Add your design files to protected files E-Site update will otherwise think it’s an obsolete file and delete it!
12. Thats it For a list of the available user controls see