|
| A common problem that you always come across when developing ASP.NET hosting solutions in structured directory architecture is that relative paths to web site images, web stylesheets. This is also a problem when your master .NET page is in a different directory to you content page. To over come this problem you should use
• Use absolute URL paths in the Master Page, for example
• Use relative or application-relative URLs in server controls instead of static markup.
As well as overriding the contents of the master page in your derived content page you can access the master page programmatically. This is achieved by creating a strongly – typed reference to the master page , using the @MasterType directive in your aspx html code.
|
|
|
|
|
|
|
|