Link to home
Start Free TrialLog in
Avatar of Democracydata
DemocracydataFlag for United States of America

asked on

Difference in using Response.Write as opposed to HtmlTextWriter.Write in overridden Render method

I have a base class for an aspx page where i override the render method and do some processing.  I have setup AJAX for some controls on my page, In my Render method if I use Response.Write the ajax functionality is not working no call backs are happening.  But if i use writer.Write (HtmlTextWriter) the ajax functionality is working fine.  Does anybody know the difference of using Response.Write as opposed to HtmlTextWriter.Write in the Render method?
ASKER CERTIFIED SOLUTION
Avatar of David H.H.Lee
David H.H.Lee
Flag of Malaysia 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