|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Dynamic includes
<i><b>Originally posted by : frodo (patrick.frenette@scg.ulaval.ca)</b></i><br />Hi there,<br /><br />I'm trying to figure out how to make the include tag dynamic.<br />this one:<br /><!-- #Include file="folder/index.htm" --><br /><br />Anyone knows? thanks<br />
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : VAL (v_shteinberg@hotmail.com)</b></i><br />Hey <br />You can not use dynamic includes because includes executing before asp.<br />But you can use something like this:<br /><br />if request.querystring("txtname") = "val" then<br /><!--#Include file="folder/val.htm"-><br />else<br /><!--#Include file="folder/frodo.htm"-><br />end if<br /><br />or if you are using IIS5 W2K you can use<br />server.execute("yourpage.asp") or<br />server.transfer("yourpage.asp")<br /><br />HAPPY PROGRAMMING<br /><br />------------<br />frodo at 7/18/2001 7:25:07 AM<br /><br />Hi there,<br /><br />I'm trying to figure out how to make the include tag dynamic.<br />this one:<br /><!-- #Include file="folder/index.htm" --><br /><br />Anyone knows? thanks<br />
|
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > Dynamic includes |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|