Re: render textfile
- From: "Eliyahu Goldin" <removemeegoldin@xxxxxxxxxxxxxx>
- Date: Wed, 15 Mar 2006 11:19:54 +0200
Page.LoadTemplate
You can load a template and use it with a template-supporting control:
DataList1.AlternatingItemTemplate = LoadTemplate("newtemplate.ascx");
Eliyahu
"Alexander Widera"
<awid@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:%23nHqpjrRGHA.4900@xxxxxxxxxxxxxxxxxxxxxxx
The file on the server should be a template. for example the content is:
" <p> my text is: <%# mytext%> </p> "
And this should be parsed and rendered and be shown on the sceen. Have you
an example? Or the name of the method?
alex
"Eliyahu Goldin" <removemeegoldin@xxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:Oi%23SS%23qRGHA.5552@xxxxxxxxxxxxxxxxxxxxxxx
You can either load the file content into one of html or server controls
or get the client to download and open it with the associated
application.
In the first case choice of a control depends on what you are planning
the user to do with the file content.
Eliyahu
.
- Follow-Ups:
- Re: render textfile
- From: Alexander Widera
- Re: render textfile
- References:
- render textfile
- From: Alexander Widera
- Re: render textfile
- From: Eliyahu Goldin
- Re: render textfile
- From: Alexander Widera
- render textfile
- Prev by Date: Re: Persist a database connection across postbacks
- Next by Date: Re: Website does not work without network connection
- Previous by thread: Re: render textfile
- Next by thread: Re: render textfile
- Index(es):