Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 2nd, 2009, 02:36 AM
Authorized User
Join Date: Jan 2009
Posts: 25
Thanks: 3
Thanked 1 Time in 1 Post
Default Refresh Page

I am sure this is a simple answer, but could not seem to find it anywhere. I have a page with several differnt views on it and I want to refresh the whole page after I enter data onto on of the fields. Is the a simple way to just REFRESH on update somewhere?
  #2 (permalink)  
Old February 4th, 2009, 06:30 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

You could enable autopostback on the field you wish to trigger an update. That will at least trigger a postback. You can then use that to refresh the views.
  #3 (permalink)  
Old February 7th, 2009, 03:02 AM
Authorized User
Join Date: Jan 2009
Posts: 25
Thanks: 3
Thanked 1 Time in 1 Post
Default Not working

That doesn't really work. I have a data entry box on my page and a gridview holding a history of the data. When I enter a new 'note' in the text box I want it to refresh the gridview below. Any ideas?
  #4 (permalink)  
Old February 7th, 2009, 03:10 AM
Authorized User
Join Date: Jan 2009
Location: thanjavur,india
Posts: 43
Thanks: 0
Thanked 2 Times in 2 Posts
Default from dinesh

hi mashype,

why dont you redirect to the same page when the textbox event occurs.
dinesh s
  #5 (permalink)  
Old February 10th, 2009, 05:20 AM
Authorized User
Join Date: Dec 2004
Location: Madurai, Tamil Nadu, India.
Posts: 69
Thanks: 0
Thanked 5 Times in 5 Posts
Send a message via Yahoo to whiterainbow
Thumbs up Try out this

Use a separate function (a private function) in your code behind in which the grid will be populated and if you already have data in your dataset call the function in the !ispostback event when the page is loading. And after the update of the data from the input box, just call the private function and so ur grid is updated.

Very simple.
Thanks in advance.


Senthil Kumar M.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Parent Page Refresh crmProg Visual Studio 2005 1 February 9th, 2007 09:56 AM
How to refresh parent page amolpayal Javascript How-To 1 August 2nd, 2006 05:03 AM
Need to "Refresh" page fskilnik Dreamweaver (all versions) 3 October 20th, 2005 10:49 AM
page Refresh skicrud PHP How-To 2 August 25th, 2004 04:03 AM

All times are GMT -4. The time now is 12:59 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.