By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,130 Members | 2,141 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,130 IT Pros & Developers. It's quick & easy.

# include directive

P: n/a

I have two C# aspx pages( base.aspx and newfile.aspx

1. newfile.aspx only contain
=======================

<
Response.Write(Session["strUsrId"])
%

=======================

There is no newfile.aspx.cs file assocaited with it. only newfile.aspx

2. base.aspx contains ( all aspx page info + the below dirctive

========================================

<!-- # include file = newfile.aspx --
========================================

this page has every thing assocated with it (class file + resource file + all the required code

Does the above code is ok for performance
or there is any performance bottleneck in using the # include directive in .aspx page as above

Please hel

can i allowed to go forward and use the abov

Regard
Sameer
Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hello Sameer,

This directive is actually from SSI (server-side include), not from ASP .NET
I'd use inheritance or .ascx controls instead.

"Sameer" <sa*******@indiatimes.com> wrote in message
news:E8**********************************@microsof t.com...

I have two C# aspx pages( base.aspx and newfile.aspx)

1. newfile.aspx only contains
========================

<%
Response.Write(Session["strUsrId"]);
%>

========================

There is no newfile.aspx.cs file assocaited with it. only newfile.aspx.

2. base.aspx contains ( all aspx page info + the below dirctive )

========================================

<!-- # include file = newfile.aspx -->
=========================================

this page has every thing assocated with it (class file + resource file + all the required code)

Does the above code is ok for performance.
or there is any performance bottleneck in using the # include directive in ..aspx page as above.
Please help

can i allowed to go forward and use the above

Regards
Sameer


Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.