.NET Framework and Server side include

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

Hi,

I installed .NET Framework Version 1.1 Redistributable
Package and installed on Windows 2000 server.

I created a aspx page which has some server control like
asp:label, asp:textbox, asp:button,
asp:requiredfieldvalidator.

I put this aspx page to IIS. But, only the label displayed.

Do I need to configure .NET Framework with IIS or set path
in environment variable?

Also, I want to do server side include in a aspx page. I
tried <#include virtual="/testaspx/test.aspx">. But, it
cannot include. How can I do it?

Thanks for help
 
Hi,

Thanks for your url reference. It works after re-installing aspnet.

But, how can I do the server side include?

I tried

<#include virtual="/test.aspx">

<#include file="test.aspx">

But, they do not work.
 
Sorry,

I know what's wrong with my code.

It should be <!-- #include file="test.aspx"-->.

Thanks for help
 
Tom,

You may also want to look into "User Controls", which is the .NET
replacement for SSI's.
 
Back
Top