Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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 have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

867 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now