Embeding html controls in Server Control

  • Thread starter Thread starter Raj Dhrolia
  • Start date Start date
R

Raj Dhrolia

Hi Everyone,

I have some HTML snippets (with about 15 HTML controls) that needs to be
embedded into my server control. I need these HTML controls on client side
for some processing (JS).

What is the best way to implement this?

One most straight forward way i can think of is to have something like -
Response.Write("<long HTML string>");

Am not sure if HTC can help, because i only need to pass these html controls
from server to client and nothing more then that.

Thanks,
Raj.
 
Create a server control in a .ascx file and just put the controls in the
..ascx file.
 
Back
Top