Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 17-03-2009
Member
 
Join Date: Nov 2008
Posts: 21
How to force a complete reload of a page in asp.net

Hello friends,

I want to have a page where it should reload itself completely from scratch.I think the easiest way to handle is to have the button do the DB stuff and then load the page.

I've tried putting in a server.But when i try to click on button but it seems to get into an infinite loop.
Reply With Quote
  #2  
Old 17-03-2009
Member
 
Join Date: Jan 2008
Posts: 1,515
Re: How to force a complete reload of a page in asp.net

Sure i will help you out with this issue did you try to use Response.Redirect Option i hope it will work for you.

Intel Dual core 2.66 Ghz
915 MSI Motherboard with Intel chipset
512 mb RAM
80gb HDD
Reply With Quote
  #3  
Old 17-03-2009
Member
 
Join Date: Nov 2008
Posts: 21
Re: How to force a complete reload of a page in asp.net

Thanks fore replying me i try to do it but response.redirect is not working for me.
Reply With Quote
  #4  
Old 17-03-2009
Member
 
Join Date: May 2008
Posts: 2,293
Re: How to force a complete reload of a page in asp.net

Try to use the following code

Response.AddHeader "Refresh", "0;URL=default.asp"

Once your page is download after that you can use the following code

If PageStatus = "reload" Then
Response.AddHeader "Refresh", "0;URL=SamePage.asp"
PageStatus = ""
End If
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to force a complete reload of a page in asp.net"
Thread Thread Starter Forum Replies Last Post
How to setup automatic timed page reload Webpages in Firefox? Corry Technology & Internet 5 03-02-2010 01:34 PM
Update a page content without reload Cabexas Software Development 3 07-11-2009 09:42 PM
Facebook page reload error PinkShell123 Technology & Internet 3 03-11-2009 10:19 PM
How to write script to page reload in ASP RockON!! Software Development 3 31-07-2009 02:52 PM
Reload web page without clearing cache in firefox PsYcHo 1 Tips & Tweaks 1 27-11-2008 05:13 PM


All times are GMT +5.5. The time now is 12:06 PM.