|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Embeding html controls in Server ControlHi 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. Hi Raj
If you just want to send literal HTML to the client there is the web server control System.Web.UI.Webcontrols.literal which can be placed anywhere on the page at design time and then the HTML can be assigned to .text property at run time.
Using Web.config's <system.web><pages><controls><add /></controls></pages></system.web> To Register
Pass parameter from pages aspx Data grid column sizes Generating the *.aspx.designer.vb Files Validation in GridView ListBox Base Class won't let me implement a LoadPostData function Merry Christmas from Windward launch page and redirect with LinkButton How to access templated controls in user control? How to collect the data from input created by document.write() in ASP.NET? |
|||||||||||||||||||||||