Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2008-06-19
3
887 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

856 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