Hello:
For example: I have a Students.aspx page using Ajax with 3 different panels like below and each panel contains different code. I have a main page that have links to Students.aspx page and I have set the property Visible=True to panel 1. My question is How do I make so that when clicked on Student 1 from the Main.aspx, it will call panel1 and when clicked on Student 2 from the Main.aspx, it will call panel2...etc...Thank you.
Students.aspx
<ajax:Update Panel ID="studentUpdatePanel" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:Panel ID="panel1" runat="server" Visible="true">Code for student 1</asp:panel>
<asp:Panel ID="panel2" runat="server" Visible="false">Code for student 2</asp:panel>
<asp:Panel ID="panel3" runat="server" Visible="false">Code for student 3</asp:panel>
</ContentTemplate>
</ajax:UpdatePanel>
--------------------------------------------------------------
Main.aspx
<a href="Students.aspx">Student 1</a>
<a href="Students.aspx">Student 2</a>
<a href="Students.aspx">Student 3</a>