hi,
I am getting really excited to start migrating so much less time it's going
to take to do my web projects!!
in my old Asp web I had a common frame for all pages which was simply
included at top of each .asp file. Actually all layout was done through
various strings (strFrame, strMain, strHeader ...) and a function in that
common file combined the strings and sent to Response.Write. Cool because it
allowed me to manipulate the final output.
So what has replaced the include function in .Net? How would you do this?
And also, how would you store some common, small functions you use from
every .asp(x) file?
thank you
David 4 1077
create the "top" as a control that's on each page....
--
Curt Christianson
Owner/Lead Developer, DF-Software www.Darkfalz.com
"Davíð Þórisson" <db**@hi.is> wrote in message
news:es*************@TK2MSFTNGP11.phx.gbl... hi, I am getting really excited to start migrating so much less time it's
going to take to do my web projects!!
in my old Asp web I had a common frame for all pages which was simply included at top of each .asp file. Actually all layout was done through various strings (strFrame, strMain, strHeader ...) and a function in that common file combined the strings and sent to Response.Write. Cool because
it allowed me to manipulate the final output.
So what has replaced the include function in .Net? How would you do this?
And also, how would you store some common, small functions you use from every .asp(x) file?
thank you David
sorry but could you be a little more specific, example maybe?
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl... create the "top" as a control that's on each page....
-- Curt Christianson Owner/Lead Developer, DF-Software www.Darkfalz.com
"Davíð Þórisson" <db**@hi.is> wrote in message news:es*************@TK2MSFTNGP11.phx.gbl... hi, I am getting really excited to start migrating so much less time it's going to take to do my web projects!!
in my old Asp web I had a common frame for all pages which was simply included at top of each .asp file. Actually all layout was done through various strings (strFrame, strMain, strHeader ...) and a function in
that common file combined the strings and sent to Response.Write. Cool
because it allowed me to manipulate the final output.
So what has replaced the include function in .Net? How would you do
this? And also, how would you store some common, small functions you use from every .asp(x) file?
thank you David
Have you looked at User Controls at all in ASP.NET ?
That's where I would start.
--
Curt Christianson
Owner/Lead Developer, DF-Software www.Darkfalz.com
"Davíð Þórisson" <db**@hi.is> wrote in message
news:Ob*************@TK2MSFTNGP11.phx.gbl... sorry but could you be a little more specific, example maybe?
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message news:%2****************@TK2MSFTNGP12.phx.gbl... create the "top" as a control that's on each page....
-- Curt Christianson Owner/Lead Developer, DF-Software www.Darkfalz.com
"Davíð Þórisson" <db**@hi.is> wrote in message news:es*************@TK2MSFTNGP11.phx.gbl... hi, I am getting really excited to start migrating so much less time it's going to take to do my web projects!!
in my old Asp web I had a common frame for all pages which was simply included at top of each .asp file. Actually all layout was done
through various strings (strFrame, strMain, strHeader ...) and a function in that common file combined the strings and sent to Response.Write. Cool because it allowed me to manipulate the final output.
So what has replaced the include function in .Net? How would you do this? And also, how would you store some common, small functions you use
from every .asp(x) file?
thank you David
I know the controls but it's putting it all together that I have no feeling
for...
do you know of any simple web project (for example news module) I can
download anywhere, just to see a good practice?
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:O%****************@TK2MSFTNGP12.phx.gbl... Have you looked at User Controls at all in ASP.NET ? That's where I would start.
-- Curt Christianson Owner/Lead Developer, DF-Software www.Darkfalz.com
"Davíð Þórisson" <db**@hi.is> wrote in message news:Ob*************@TK2MSFTNGP11.phx.gbl... sorry but could you be a little more specific, example maybe?
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message news:%2****************@TK2MSFTNGP12.phx.gbl... create the "top" as a control that's on each page....
-- Curt Christianson Owner/Lead Developer, DF-Software www.Darkfalz.com
"Davíð Þórisson" <db**@hi.is> wrote in message news:es*************@TK2MSFTNGP11.phx.gbl... > hi, > I am getting really excited to start migrating so much less time
it's going > to take to do my web projects!! > > in my old Asp web I had a common frame for all pages which was
simply > included at top of each .asp file. Actually all layout was done through > various strings (strFrame, strMain, strHeader ...) and a function in that > common file combined the strings and sent to Response.Write. Cool because it > allowed me to manipulate the final output. > > So what has replaced the include function in .Net? How would you do this? > > And also, how would you store some common, small functions you use from > every .asp(x) file? > > > thank you > David > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: webhead74 |
last post by:
Hi,
I'm trying to move our web site from a Windows 2000 box running IIS /
PHP CGI (4.0.6) to a RedHat box running Apache (actually IBM HTTP
Server v2.0.47) & PHP 4.3.10.
First of all, I...
|
by: Shai Levi |
last post by:
Hi,
I'm trying to migrate native c++ class to managed c++
class.
The native class header definition looks as:
class NativeClass
{
public:
typedef void (CbFunc1)(int n,void* p);
|
by: |
last post by:
I have a module that's processed as an include file in a tradtional asp
application that I'm migrating to dotnet.
In one of the modules, there's an if statement that's gotten appended to
over...
|
by: BobRoyAce |
last post by:
I would really appreciate recommendations for sources of materials on
migrating ASP applications to ASP.NET (books, URL's, etc.). Also, is there a
magazine that is particularly good for .NET stuff....
|
by: Jean-Claude Adams |
last post by:
Hi Folks.
I need some tutorial or some expertice about the subject. Because, i'm
have a customer, need's change the actual appl, but the only issue is
a dbf database, and the GUI is the older...
|
by: vj |
last post by:
Please let me know , what are the various impacts on migrating UDB DB2
8.1 to Mainframes.
Thanks
Vijay.T
|
by: phnimx |
last post by:
I'm attempting to migrate a predominately MFC application that I've just
inherited from
Visual Studio.NET 2003 to Visual Studio 2005. I've managed to clean up a
myriad of compile and link errors...
|
by: Bill P |
last post by:
I'm having a heck of time finding out how to code a some 'set' commands from
vbs:
objFSO = CreateObject("Scripting.FileSystemObject")
objOut = CreateObject("Scripting.FileSystemObject")
objOut2...
|
by: John |
last post by:
Hello there, Im cursing my place of employment...and its taken me a month to
realise it...
The scenario:
Ive just stepped into a role to migrate an access database to VB.Net. The
access...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |