Solved

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

Posted on 2008-06-19
3
889 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
[X]
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
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

710 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