Solved

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

Posted on 2004-03-25
5
2,099 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

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…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
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…

830 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