Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Separating CODE from DESIGN (templates) ?

Does anyone know something about having two separated pages, for example:
a page test.htm (the template, designed used any HTML editor)
and a page test.aspx (the code for that page that replace the static parts)
Im using something like that with a component, but I wanted to know if ASP+
have something like that
[328 byte] By [Gabriel Zabal] at [2007-11-9 16:24:12]
# 1 Re: Separating CODE from DESIGN (templates) ?
Yep: 'codebehind' support is available via the SDK using the following page
directive at the top of the ASPX:

<%@ Page Inherits="MyCodeBehind" Src="Intro12.cs" %>

This says that the Intro12.cs page has all the code for the ASPX page in a
class called "MyCodeBehind"

Check out this very same example in the NGWSSDK samples folders. Search for
intro12.aspx.

--
MCA
Mike Amundsen
Vertigo Software, Inc.
"Gabriel Zabal" <gabrielzabal@ciudad.com.ar> wrote in message
news:39b413d5@news.dev-archive.com...
> Does anyone know something about having two separated pages, for example:
> a page test.htm (the template, designed used any HTML editor)
> and a page test.aspx (the code for that page that replace the static
parts)
> Im using something like that with a component, but I wanted to know if
ASP+
> have something like that
>
>
>
Mike Amundsen at 2007-11-11 23:26:07 >