Re: asp include??
- From: "Danny@Kendal" <danny@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 12 May 2005 13:46:18 +0100
<g_sharad@xxxxxxxxx> wrote in message
news:1115896682.194063.239820@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi
>
>
> May be this problem is older, however i am not able to find a solution
> THe problem ...
>
>
> I have asp page file0.asp which calls another asp page thru include. I
> have to set conditions tht....
> originally the include should have file1.asp
> In the displayed file file1.asp user selects a hyperlink, it should
> take it as request and display the new file2.asp in same file0.asp in
> place of file1.asp.
Something like this:
<a href="file0.asp?MyPage=Page1">Page1</a>
<a href="file0.asp?MyPage=Page2">Page2</a>
<%
pageSelect = request.querystring("MyPage")
if pageSelect = "Page1" then%>
<!--#include file="Page1.asp"--><%
elseif pageSelect = "Page2" then%>
<!--'include file="Page2.asp"--><%
end if
%>
.
- References:
- asp include??
- From: g_sharad
- asp include??
- Prev by Date: asp include??
- Next by Date: Re: IIS ActiveX Control - No special fonts creatable
- Previous by thread: asp include??
- Index(es):
Relevant Pages
|