I used the following lines of coding in the child webpage,
Code:<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" Title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="Main" Runat="Server"> </asp:Content>
I am using a logo in the top of the master page. The above code displays the result of the xslt transformation in the top of the child page. It means the output is displayed above the LOGO in the master page. How to solve this?. The result of the above code should be displayed in the content place holder. Help need! Please see the attachment for clarification.Code:In the page load event of the client page I mentioned the following coding System.Xml.XPath.XPathDocument xmlDoc = new System.Xml.XPath.XPathDocument(Server.MapPath("~\\app_Data\\xmldatafile.xml")); System.Xml.Xsl.XslTransform xslt = new System.Xml.Xsl.XslTransform(); xslt.Load(Server.MapPath("~/app_Data/ContactsX.xsl")); xslt.Transform(xmlDoc, null, this.Response.OutputStream);




Reply With Quote