Solved

J# - Using the Response object

Posted on 2003-10-28
7
241 Views
Last Modified: 2010-08-05
Can somebody tell me how to do a Response.Write in J# ?
0
Comment
Question by:davetek
[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
  • 2
7 Comments
 

Author Comment

by:davetek
ID: 9640922
Increased points, need answer urgently
0
 
LVL 4

Expert Comment

by:son_robin
ID: 9640946
In the Codebehind you can write as Response.Write("Test");

In the aspx page you can write as either <%Response.Write("Test")%>
0
 

Author Comment

by:davetek
ID: 9641167
That doesnt seem to work in J#. The following error is returned when building the solution:

"Name 'Response' is not defined in current context"

0
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!

 

Author Comment

by:davetek
ID: 9641190
Found solution:            

System.Web.HttpResponse objResponse = this.get_Response();
objResponse.Write ("TEST");
            
0
 
LVL 4

Expert Comment

by:son_robin
ID: 9678394
Including, using System.Web; in the top of your code might work for you to write Response.Write("Test");
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 12416386
PAQed, with points refunded (400)

Computer101
E-E Admin
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
TripAdvisor Widgets on WordPress Websites 10 259
wordpress limitations 4 135
CSS display:none AND display:block on same element 3 110
Lines Not Lining Up 2 86
It's sometimes a bit tricky to use date functions in Oracle BPEL. I'll explain quickly how you can add N days to the current date. In a BPEL process this can be useful, and you can adapt it to fit your needs. First of all, let's see how to add 1 …
Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

735 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