Embeding html controls in Server Control
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.
Relevant Pages
- Re: whats the difference between a normal form element and a web control element?
... Right now the client is using net 1.1 for a public website. ... Im using .net server controls at the moment. ... The HTML controls were included, primarily, to allow an easy transition ... come up with a really good reason. ... (microsoft.public.dotnet.framework.aspnet) - Re: newbie: HTML controls vs Web controls
... when to use web-controls and when to use HTML controls? ... The System.Web.UI.HtmlControls namespace is for HTML controls, in the sense that they are declared on the page using standard HTML tags, for ... In the second case, however, (and while you can also influence the way they will be rendered on the client), the events you wire them to are executed on the server. ... (microsoft.public.dotnet.framework.aspnet) - Embeding html controls in Server Control
... I have some HTML snippets (with about 15 HTML controls) that needs to be ... embedded into my server control. ... from server to client and nothing more then that. ... (microsoft.public.dotnet.framework.aspnet.webcontrols) - Embeding html controls in Server Control
... I have some HTML snippets (with about 15 HTML controls) that needs to be ... embedded into my server control. ... from server to client and nothing more then that. ... (microsoft.public.dotnet.framework.aspnet) - Re: Right Justify in TextBox
... The Style attribute is avaliable on html element ... For server control such as ASP.net TextBox, we need to set its css style ... (microsoft.public.dotnet.framework.aspnet) |
|