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

Attach HTML to Table

P: n/a
Hello
How can i attach an html file to TableRow in HtmlTable
control that run at server, the code should be in server
side.
thanks
Nov 18 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
I can think of two possible ways:

Since this is an ASP.NET group, why not just put it in an ASCX file and be
done with it?

OR

If your webserver supports ServerSideIncludes (SSI) try this where you want
the html to display:

<!--#include file ="YourFileName.html"-->

HTH
TODD

"erez" <er*******@hotmail.co.il> wrote in message
news:06****************************@phx.gbl...
Hello
How can i attach an html file to TableRow in HtmlTable
control that run at server, the code should be in server
side.
thanks

Nov 18 '05 #2

P: n/a
thanks,
the problem is that the HTML page will changed very
frequently, so its must be done at run time, and the
server nust decide which page too attach every time
Thanks

-----Original Message-----
I can think of two possible ways:

Since this is an ASP.NET group, why not just put it in an ASCX file and bedone with it?

OR

If your webserver supports ServerSideIncludes (SSI) try this where you wantthe html to display:

<!--#include file ="YourFileName.html"-->

HTH
TODD

"erez" <er*******@hotmail.co.il> wrote in message
news:06****************************@phx.gbl...
Hello
How can i attach an html file to TableRow in HtmlTable
control that run at server, the code should be in server
side.
thanks

.

Nov 18 '05 #3

P: n/a
Use a server control (ASCX file) and write code (inline or code-behind) that
does your dynamic stuff.
If you don't know what an ASCX file is or how to use it, I suggest using the
help files that come with Visual Studio.NET or check the online help files
at MSDN. I'm sure you could find some postings in this newsgroup about
their use as well.

Todd

"erez" <er*******@hotmail.co.il> wrote in message
news:06****************************@phx.gbl...
thanks,
the problem is that the HTML page will changed very
frequently, so its must be done at run time, and the
server nust decide which page too attach every time
Thanks

-----Original Message-----
I can think of two possible ways:

Since this is an ASP.NET group, why not just put it in an

ASCX file and be
done with it?

OR

If your webserver supports ServerSideIncludes (SSI) try

this where you want
the html to display:

<!--#include file ="YourFileName.html"-->

HTH
TODD

"erez" <er*******@hotmail.co.il> wrote in message
news:06****************************@phx.gbl...
Hello
How can i attach an html file to TableRow in HtmlTable
control that run at server, the code should be in server
side.
thanks

.

Nov 18 '05 #4

P: n/a
Thanks TODD

i know how to build ascx files, what i dont know is how to
attach HTML files Table Cell , like using IFRAME tag.
Thanks
erez
-----Original Message-----
Use a server control (ASCX file) and write code (inline or code-behind) thatdoes your dynamic stuff.
If you don't know what an ASCX file is or how to use it, I suggest using thehelp files that come with Visual Studio.NET or check the online help filesat MSDN. I'm sure you could find some postings in this newsgroup abouttheir use as well.

Todd

"erez" <er*******@hotmail.co.il> wrote in message
news:06****************************@phx.gbl...
thanks,
the problem is that the HTML page will changed very
frequently, so its must be done at run time, and the
server nust decide which page too attach every time
Thanks

>-----Original Message-----
>I can think of two possible ways:
>
>Since this is an ASP.NET group, why not just put it in an
ASCX file and be
>done with it?
>
>OR
>
>If your webserver supports ServerSideIncludes (SSI) try

this where you want
>the html to display:
>
><!--#include file ="YourFileName.html"-->
>
>HTH
>TODD
>
>"erez" <er*******@hotmail.co.il> wrote in message
>news:06****************************@phx.gbl...
>> Hello
>> How can i attach an html file to TableRow in

HtmlTable >> control that run at server, the code should be in server >> side.
>> thanks
>
>
>.
>

.

Nov 18 '05 #5

P: n/a
I think you can use Response.writefile(filename).

"erez" <er*******@hotmail.co.il> wrote in message news:<05****************************@phx.gbl>...
Thanks TODD

i know how to build ascx files, what i dont know is how to
attach HTML files Table Cell , like using IFRAME tag.
Thanks
erez
-----Original Message-----
Use a server control (ASCX file) and write code (inline

or code-behind) that
does your dynamic stuff.
If you don't know what an ASCX file is or how to use it,

I suggest using the
help files that come with Visual Studio.NET or check the

online help files
at MSDN. I'm sure you could find some postings in this

newsgroup about
their use as well.

Todd

"erez" <er*******@hotmail.co.il> wrote in message
news:06****************************@phx.gbl...
thanks,
the problem is that the HTML page will changed very
frequently, so its must be done at run time, and the
server nust decide which page too attach every time
Thanks
>-----Original Message-----
>I can think of two possible ways:
>
>Since this is an ASP.NET group, why not just put it in an
ASCX file and be >done with it?
>
>OR
>
>If your webserver supports ServerSideIncludes (SSI) try this where you want >the html to display:
>
><!--#include file ="YourFileName.html"-->
>
>HTH
>TODD
>
>"erez" <er*******@hotmail.co.il> wrote in message
>news:06****************************@phx.gbl...
>> Hello
>> How can i attach an html file to TableRow in HtmlTable >> control that run at server, the code should be in server >> side.
>> thanks
>
>
>.
>

.

Nov 18 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.