File Details
| Downloads: |
94 |
File Size: |
1.1kB |
| Posted By: |
eralper |
Views: |
612 |
| Date Added: |
27 Jan 2008 |
|
Here is the edited Master.ascx file which uses Response.Filter method and calls the assembly class we have created to filter and replace the unwanted page titles and meta tags with specific desired descriptions, titles, keywords etc that are read from a MS SQL Server 2005 database.
The master.ascx imports HTMLMetaFilter namespace.
And below code is executed in the Page_Load method of the user control
string pageURL = Page.Request.Url.ToString();
Response.Filter = new HTMLMetaFilter(Response.Filter, pageURL);
The Master.ascx file is located in folder "\Themes\default\Masters" in the Community Server folder structure.