473,783 Members | 2,574 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

response.write question

EMW
Hi,

When I use
Response.Write "something"
it is placed at the top op de html document above the <HTML> tag.
I need it to be put in the BODY part.

How can I do this?

rg,
Eric
Nov 19 '05
22 1602
EMW: Sorry if that came across as rude to you. We were all beginners once
and I try to not berate beginners. What really irritates me is when people
suggest the wrong answers.

Tom: You have a bad case of NIH (not invented here) syndrome. I used to do
the same stuff you are doing. I looked at some of your posts and noticed
that you are having problems with a lot stuff that is fixed if you use
microsoft's controls. Take the time to learn all of the framework and what
it's capable of and you will end up with much cleaner code with fewer errors.
Nov 19 '05 #21
">Tom: You have a bad case of NIH (not invented here) syndrome."

I don't understand what that means.

" I used to do
the same stuff you are doing. I looked at some of your posts and noticed
that you are having problems with a lot stuff that is fixed if you use
microsoft's controls."
I rarely use Microsoft's controls because they are inflexible. I use
Infragistics controls wherever possible. I find Microsoft's methods
for doing anything over-complicated and bloated. i.e. I needed to
find out how to return a recordID from a SQL server. Just that. MS's
example is 3 PAGES of code. My end solution was 2 LINES. My solution
is "wrong" apparently. Yet it works and I don't require a stored
procedure for every last table, hundreds of them in some cases.

"Take the time to learn all of the framework and what
it's capable of and you will end up with much cleaner code with fewer
errors."

Some of us work all day for a living. I haven't quite finished the
'duplicate person' project yet.

"What really irritates me is when people suggest the wrong answers."

My suggestion, of using LiteralControls is "wrong"? Why is it wrong
when it works? If I write data classes that retrieve and manipulate
data instead of binding controls directly to a datasource, why is that
"wrong" when it works perfectly?

EMW, ignore me. Sorry to waste your time. Here, apparently, is the
real, complete solution:

"Use a table"

*smacks forehead*

Sorry Scott, I get this all too often. I get either "you're doing it
wrong" with no explanation or suggestions or no response at all, like
the last question I asked about resource manifests. Nobody knows what
a resource manifest is but everything I'm doing is definitely wrong.
Welp, I'm going back to writing working, efficient applications and be
proud of it because that's what I've been doing for 27 years. Hearing
everything I'm doing is 'wrong' when it all works is insulting.

Tom

On Wed, 30 Mar 2005 07:59:02 -0800, Scott Simons
<Scott.Simons.A t.MealMagic.Com .Remove.This> wrote:
EMW: Sorry if that came across as rude to you. We were all beginners once
and I try to not berate beginners. What really irritates me is when people
suggest the wrong answers.

Tom: You have a bad case of NIH (not invented here) syndrome. I used to do
the same stuff you are doing. I looked at some of your posts and noticed
that you are having problems with a lot stuff that is fixed if you use
microsoft's controls. Take the time to learn all of the framework and what
it's capable of and you will end up with much cleaner code with fewer errors.


Nov 19 '05 #22
EMW
Tom,

I won't ignore you, because your suggestion worked great for me and I'm
happy to have using it.
Thanks again for helping!

rg,
Eric.
"Tom wilson" <ye*******@nosp am.com> schreef in bericht
news:jt******** *************** *********@4ax.c om...
">Tom: You have a bad case of NIH (not invented here) syndrome."

I don't understand what that means.

" I used to do
the same stuff you are doing. I looked at some of your posts and noticed
that you are having problems with a lot stuff that is fixed if you use
microsoft's controls."


I rarely use Microsoft's controls because they are inflexible. I use
Infragistics controls wherever possible. I find Microsoft's methods
for doing anything over-complicated and bloated. i.e. I needed to
find out how to return a recordID from a SQL server. Just that. MS's
example is 3 PAGES of code. My end solution was 2 LINES. My solution
is "wrong" apparently. Yet it works and I don't require a stored
procedure for every last table, hundreds of them in some cases.

"Take the time to learn all of the framework and what
it's capable of and you will end up with much cleaner code with fewer
errors."

Some of us work all day for a living. I haven't quite finished the
'duplicate person' project yet.

"What really irritates me is when people suggest the wrong answers."

My suggestion, of using LiteralControls is "wrong"? Why is it wrong
when it works? If I write data classes that retrieve and manipulate
data instead of binding controls directly to a datasource, why is that
"wrong" when it works perfectly?

EMW, ignore me. Sorry to waste your time. Here, apparently, is the
real, complete solution:

"Use a table"

*smacks forehead*

Sorry Scott, I get this all too often. I get either "you're doing it
wrong" with no explanation or suggestions or no response at all, like
the last question I asked about resource manifests. Nobody knows what
a resource manifest is but everything I'm doing is definitely wrong.
Welp, I'm going back to writing working, efficient applications and be
proud of it because that's what I've been doing for 27 years. Hearing
everything I'm doing is 'wrong' when it all works is insulting.

Tom

On Wed, 30 Mar 2005 07:59:02 -0800, Scott Simons
<Scott.Simons.A t.MealMagic.Com .Remove.This> wrote:
EMW: Sorry if that came across as rude to you. We were all beginners once
and I try to not berate beginners. What really irritates me is when
people
suggest the wrong answers.

Tom: You have a bad case of NIH (not invented here) syndrome. I used to
do
the same stuff you are doing. I looked at some of your posts and noticed
that you are having problems with a lot stuff that is fixed if you use
microsoft's controls. Take the time to learn all of the framework and
what
it's capable of and you will end up with much cleaner code with fewer
errors.

Nov 19 '05 #23

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
1465
by: Colin Colin | last post by:
I have an ASP program that is getting an error. When I get the error I get Page Cannot Be Displayed along with the line that causes the error and what the error is. What I am not getting is any data that I write via response.write before the error occurs. The error is happening in a loop, on the third line below: RESPONSE.WRITE("x=" & x & ", " & aFieldsData(UpdateRecNum,x) & "<BR>") tFLD = trim(aFieldsData(UpdateRecNum,x)) tFLD =...
13
4754
by: TinyTim | last post by:
I'm a newbie at ASP & HTML. It seems that when you use server side code and you're going to return a customized HTML form with several fields and labels, you have to do an extensive amount of Response.Writes. Are there any tools that will let you design the form then convert that form to Response.Writes that you can further customize with ASP logic? For instance: use Dreamweaver to design the form, then another program to convert to...
35
34506
by: Eitan | last post by:
Hello, How can I write a line (with carriage return + line feed) to the client ? response.write("abcd"), continue the last line, and doesn't put cr+lf. response.writeLn is illegal syntax... Thank :)
6
3058
by: Mark | last post by:
Hi... I've come across some weird bug with Response.Cookies. Or maybe it will be called "by design" but for the life of me I can't figure out what purpose it would serve. If you're setting a cookie (say Response.Cookies ("TEST")) and you have a query string variable &test=x or &Test=x and you get Request.QueryString to parse the query string, the cookie that gets dropped matches the case of the query string, not what your code says. ...
6
1943
by: dotnettester | last post by:
Woud this work? ..... Response.end set objConn = nothing set objAnyObject = nothing ?
7
43277
by: Anne | last post by:
hie there, i want to be able to pass multiple parameters to another page. currently, i am able to do so, but somehow i feel it is not the correct way to do it. below is part of what i have so far. 'first page Private Sub btnOK_ServerClick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click Response.Redirect("InputValues.aspx?Requestor=" &
5
2506
by: Luiz Vianna | last post by:
Guys, I need to send some info to my client while I'm processing some stuff. The flow will be something like : -process -response -process -response .... I imagine to use response.flush (as I did on ASP) but it does not work. See my test code, after sending 2 lines on response, I'm simulating a processing time before sending other 2 lines.
11
26886
by: Russ | last post by:
My web app writes some binary data to a file at the client site via Response.Write and Response.BinaryWrite. This action is accomplished in response to a button click, with C# code behind as follows: private void SubmitButton_Click (object sender, System.EventArgs e) { // Set up the response to write the print file to the client Response.Clear (); Response.AppendHeader ("Content-Disposition", "filename=WebPrint.prn");
7
4146
by: Shapiro | last post by:
I have a scenario where I log a resquest to a database table and update the request with a corresponding response including the response time. I am using an HttpModule to do this. My challenge is how to corelate the response to a corresponding request. I am looking for a sure proof threadsafe way to corelate a response to a coresponding request message. Two things that concerns me:-
6
1501
by: Terry Olsen | last post by:
Is there any way to make response.write NOT be the first thing on the page? I have a page with the title and a sub title (not labels or anything, just typed into the designer). I want the response.write text to appear below the titles and formatted (bold, sized, centered, etc). Thanks. *** Sent via Developersdex http://www.developersdex.com ***
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10083
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9946
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5379
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4044
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2877
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.