Difference in using Response.Write as opposed to HtmlTextWriter.Write in overridden Render method
Posted on 2008-06-19
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?