SQL Server administration and T-SQL development, Web Programming with ASP.NET, HTML5 and Javascript, Windows Phone 8 app development, SAP Smartforms and ABAP Programming, Windows 7, Visual Studio and MS Office software

Development Resources Download Files for Programmer and Administrators

Development resources, articles, tutorials, samples, codes and tools for .Net, SQL Server, Windows, Windows Phone, SAP and ABAP, like SAP UI5, Screen Personas, etc.

Edited Master.ascx file using Response.Filter

File Details
Downloads: 2691 File Size: 1.1kB
Posted By: eralper Views: 12585
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.

Comments
No comments exist for this file.
Copyright © 2004 - 2017 Eralper YILMAZ. All rights reserved.
Community Server by Telligent Systems