Hi,
I'm thinking, something in the lines of a template with string-placeholders.
The template would be nothing but a text file with HTML in it, and strings
that your code can look for, like $puttextboxhere. You can parse through,
replace, and write the elements out.
Catch my drift?
-Altaf
--------------------------------------------------------------------------------
All that glitters has a high refractive index.
www.mendhak.com
"DKode" <> wrote in message
news: ups.com...
>I have developed a custom server control that displays a login page
> that authenticates against AD. The server control works fine, but now I
> am trying to figure out the best way to output custom html. The HTML
> output for the server control changes for each application I include
> the server control in. At first I thought about making an html file and
> just including it, but this won't work because with the custom html I
> output two textboxes and a submit button that is generated through code
> so I can fire the events for the controls.
>
> What is the easiest way to include custom html output so I don't have
> to re-code my custom server control everytime I add it to a different
> application. Any help would be appreciated.
>
> thanks
>
> Sean
>