Solved

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

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

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 demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

738 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