Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

J# - Using the Response object

Posted on 2003-10-28
7
Medium Priority
?
263 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
Industry Leaders: 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

604 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