Link to home
Start Free TrialLog in
Avatar of HADDADD3
HADDADD3

asked on

ASP.NET: Generate HTML In CodeBehind and Write To Page?

I am working with a framework (iui) that requires very specific HTML to be written to the page.

Inserting the standard asp.net <form runat=server> breaks the entire UI.

Since there is not much I need to generate on the server side, would it be possible to generate the HTML markup I need to insert in the code-behind, and then write it to the page? Would using a stringbuilder, and then response.write be suitable to do this?
Avatar of Eyal
Eyal
Flag of Israel image

create http handler so there you can control the output
ASKER CERTIFIED SOLUTION
Avatar of Easwaran Paramasivam
Easwaran Paramasivam
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
for using asp controls you must have form runat server and he told that this breaks his UI
Avatar of HADDADD3
HADDADD3

ASKER

literal did it...