.NET Framework and Server side include

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
 
T

Tom Pair

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.
 
T

Tom Pair

Sorry,

I know what's wrong with my code.

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

Thanks for help
 
S

Scott M.

Tom,

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top