Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2008-06-19
3
Medium Priority
?
895 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 1000 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

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…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

660 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