this is my product.aspx code and its data is coming through xml page
<div id="div_page_content">
<div id="div_left_nav">
<dl class="left_nav_menu">
<dt>Our Products </dt>
<dd>
<asp:LinkButton Width="160" Height="100%" runat="server" ID="lnk_Product1"
onclick="lnk_Product1_Click">product1</asp:LinkButton>
</dd>
<dd><asp:LinkButton Width="160" Height="100%" runat="server" ID="lnk_Product2"
onclick="lnk_Product2_Click">
product2</asp:LinkButton>
</dd>
<dd><asp:LinkButton Width="160" Height="100%" runat="server" ID="lnk_Product3"
onclick="lnk_Product3_Click">
product3</asp:LinkButton></dd>
</dl>
</div>
<div id="div_Content">
<asp:Panel runat="server" ID="pnl_body" ScrollBars="Auto" Height="540" Wrap="true">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Label runat="server" ID="lbl_Placeholder">
</asp:Label>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="lnk_Product1" />
<asp:AsyncPostBackTrigger ControlID="lnk_Product2" />
<asp:AsyncPostBackTrigger ControlID="lnk_Product3" />
</Triggers>
</asp:UpdatePanel>
</asp:Panel>
</div>
</div>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Xml;
using System.Web.UI.WebControls;
namespace ssss
{
public partial class Products : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (Request.QueryString.Count>0)
{
lbl_Placeholder.Text = GetPageText(Convert.ToInt16(Request.QueryString[0])-1);
}
else
{
lbl_Placeholder.Text = GetPageText(0);
}
}
private string GetPageText(int iNode)
{
try
{
XmlDocument oDom = new XmlDocument();
string sPath = Server.MapPath("~");
oDom.Load(sPath + "\\all_products.aspx");
return oDom.ChildNodes[0].ChildNodes[iNode].InnerXml;
oDom = null;
}
catch (Exception ex)
{
throw (ex);
}
}
protected void lnk_Product1_Click(object sender, EventArgs e)
{
lbl_Placeholder.Text = GetPageText(0);
}
protected void lnk_Product2_Click(object sender, EventArgs e)
{
lbl_Placeholder.Text = GetPageText(1);
}
protected void lnk_Product3_Click(object sender, EventArgs e)
{
lbl_Placeholder.Text = GetPageText(2);
}
}}