I HAVE A MASTER PAGE CALLED TRY1.MASTER THAT CALLS THE PAGE PAT.ASPX THAT GOES IN THE PLACEHOLDER "FLOWERTEXT".
PAT.ASPX CALLS MIDDLE.ASPX THAT GOES IN THE PLACEHOLDER
"NEXTPLACE". WHEN IT DOES THIS, THE CONTROLS IN PAT.ASPX DISAPPEAR.
HOW CAN I KEEP THEM FROM DISAPPEARING?
---------------------------------------
BELOW IS PART OF WHAT IS IN TRY1.MASTER
---------------------------------------
<form id="form1" runat="server">
<table>
<tr valign="top">
<td rowspan="2">
<a href="PAT.ASPX">
Patient
</a>
<br/>
<a href="prv.aspx">
Provider
</a>
<br/>
</td>
<td>
<asp:contentplaceholderid="FLOWERTEXT" runat="server">
</asp:contentplaceholder>
</td>
</tr>
<tr>
<td>
<asp:contentplaceholder id="NEXTPLACE" runat="server">
nextplace contents
</asp:contentplaceholder>
</td>
</tr>
</table>
</form>
-----------------
BELOW IS PAT.ASPX
-----------------
<%@ page language="VB" masterpagefile="~/try1.master" %>
<script language="vb" runat="server">
sub a(sender as object,
e as System.Web.UI.WebControls.CommandEventArgs)
dim b as string
dim dbf as string
dim findby as string
SERVER.TRANSFER("middle.aspx? b="+textbox1.text.tostring() +"&dbf="+dropdownlist2.selecteditem.value+ _
"&findby="+dropdownlist1.selecteditem.value,true)
end sub
</script>
<asp:content id="Content1" contentplaceholderid="FLOWERTEXT" runat="server">
<aspropDownList runat="server" Id="DropDownList2">
<asp:ListItem Value="tbldem">
Dem
</asp:ListItem>
<asp:ListItem Value="tblvis">
Vis
</asp:ListItem>
</aspropDownList>
<aspropDownList runat="server" id="DropDownList1">
<asp:ListItem Value="nam">
Name
</asp:ListItem>
<asp:ListItem Value="idcode">
ID
</asp:ListItem>
</aspropDownList>
<asp:TextBox runat="server" id="TextBox1">
</asp:TextBox>
<asp:Button runat="server" Text="Button" id="Button1" OnCommand="a" />
</asp:content>
--------------------
BELOW IS MIDDLE.ASPX
--------------------
<%@ page language="VB" masterpagefile="~/try1.master" %>
<asp:content id="Content3" contentplaceholderid="NEXTPLACE" runat="server">
***got here***
</asp:content>
SORRY IF THIS WAS HARD TO READ. THANK YOU VERY MUCH.
PAT.ASPX CALLS MIDDLE.ASPX THAT GOES IN THE PLACEHOLDER
"NEXTPLACE". WHEN IT DOES THIS, THE CONTROLS IN PAT.ASPX DISAPPEAR.
HOW CAN I KEEP THEM FROM DISAPPEARING?
---------------------------------------
BELOW IS PART OF WHAT IS IN TRY1.MASTER
---------------------------------------
<form id="form1" runat="server">
<table>
<tr valign="top">
<td rowspan="2">
<a href="PAT.ASPX">
Patient
</a>
<br/>
<a href="prv.aspx">
Provider
</a>
<br/>
</td>
<td>
<asp:contentplaceholderid="FLOWERTEXT" runat="server">
</asp:contentplaceholder>
</td>
</tr>
<tr>
<td>
<asp:contentplaceholder id="NEXTPLACE" runat="server">
nextplace contents
</asp:contentplaceholder>
</td>
</tr>
</table>
</form>
-----------------
BELOW IS PAT.ASPX
-----------------
<%@ page language="VB" masterpagefile="~/try1.master" %>
<script language="vb" runat="server">
sub a(sender as object,
e as System.Web.UI.WebControls.CommandEventArgs)
dim b as string
dim dbf as string
dim findby as string
SERVER.TRANSFER("middle.aspx? b="+textbox1.text.tostring() +"&dbf="+dropdownlist2.selecteditem.value+ _
"&findby="+dropdownlist1.selecteditem.value,true)
end sub
</script>
<asp:content id="Content1" contentplaceholderid="FLOWERTEXT" runat="server">
<aspropDownList runat="server" Id="DropDownList2">
<asp:ListItem Value="tbldem">
Dem
</asp:ListItem>
<asp:ListItem Value="tblvis">
Vis
</asp:ListItem>
</aspropDownList>
<aspropDownList runat="server" id="DropDownList1">
<asp:ListItem Value="nam">
Name
</asp:ListItem>
<asp:ListItem Value="idcode">
ID
</asp:ListItem>
</aspropDownList>
<asp:TextBox runat="server" id="TextBox1">
</asp:TextBox>
<asp:Button runat="server" Text="Button" id="Button1" OnCommand="a" />
</asp:content>
--------------------
BELOW IS MIDDLE.ASPX
--------------------
<%@ page language="VB" masterpagefile="~/try1.master" %>
<asp:content id="Content3" contentplaceholderid="NEXTPLACE" runat="server">
***got here***
</asp:content>
SORRY IF THIS WAS HARD TO READ. THANK YOU VERY MUCH.