Solved

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

Posted on 2008-06-19
3
881 Views
Last Modified: 2009-05-14
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?
0
Comment
Question by:Democracydata
3 Comments
 
LVL 29

Accepted Solution

by:
David H.H.Lee earned 250 total points
ID: 21857318
Hi Democracydata,
You can see the great explanation regarding the comparison between
HtmlTextWriter.Write and Response.write issues here:

-Check for "HtmlTextWriter" section:
http://www.dotnetspider.com/resources/4370-Developing-Web-Applications.aspx

Hope that solve your doubt.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now