Solved

ASP.NET/VS.Net : Getting response.write to output at bottom of page

Posted on 2004-03-25
5
2,089 Views
Last Modified: 2007-12-19
I have a header image and a few links to display at the top of my page, which i have put there in Design mode,
but whenever i dare to use response.write, the output shows up at the top of the page, befoe my links & header images.

Is there any way that i can make Response.write output stuff after whatever I put in the Design/Html
portion of my Web Form ?

If ai could get a quick answer, i'd be very gratefull, it's kinda urgent ;-)
0
Comment
Question by:spyclone
5 Comments
 
LVL 8

Expert Comment

by:sankarbha
ID: 10675492
before using response.write u can flush the buffer (buffer is enabled by default in asp.net)
also u can enclose ur response.write message in a div tag positioned at the bottom of the screen
0
 
LVL 4

Accepted Solution

by:
JNSTAUB earned 500 total points
ID: 10675638
in many example ,i saw that programmer put a label at the bottom of the page ;initialy empty and after process and post back they change the label text with the response .
 <asp:Label id=Label1 font-name="Verdana" font-size="10pt" runat="server">
           
        </asp:Label>
        Sub SubmitBtn_Click(sender As Object, e As EventArgs)
            Label1.Text="you have selected: " + DropDown1.SelectedItem.Text
        End Sub
0
 
LVL 31

Expert Comment

by:alorentz
ID: 10676519
JNSTAUB's method is appropriate because that's how .Net works.  Response write is classic ASP...use the functionality they provide in .Net
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CSS Question.. 3 87
JQuery Date Time picker not showing 29 131
Can not run ASP pages Windows 10 Edge browser. 5 87
Error in query expression 3 42
I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

777 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