Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > .NET Framework 1.x
|
.NET Framework 1.x For discussing versions 1.0 and 1.1 of the Microsoft .NET Framework.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 1.x section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 31st, 2008, 04:08 PM
Registered User
 
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Auto-refresh user control in .NET 1.1

Hi,

I am developing a web application in .NET 1.1.
I would like to know if there is any way to make an user control auto-refresh after a set interval.
I don't want the entire page to get refreshed as there are other controls in the page.

After searching a bit in the net i came across this: <meta http-equiv="refresh" content="300">.
But again this will refresh the entire page. There were suggestions of storing the values of other controls in the page in session variables and then restore them after refresh.
Another approach i came across was using frames. I believe using frames is not the coolest way to design your web pages.

Is there any other easier way to achieve this?
Thanks in advance for your help.

 
Old January 31st, 2008, 05:45 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

This is the very kind of idea AJAX can accomplish. The problem is that the ASP.NET ajax support exists in .NET 2.0+ but not 1.1. However, that doesn't not prevent you from writing custom client code to do this sort of thing, it's just a bit more complicated. Is there any possibility of upgrading to ASP.NET 2.0 or 3.5 (which has far better AJAX support built in)?

-Peter
 
Old February 1st, 2008, 05:51 AM
Registered User
 
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I know about the AJAX support in .NET 2.0+, but unfortunately it would not be possible at this time to upgrade to higher versions.

Can you please elaborate on writing the client code by giving a small code example? Else can you provide me some links where i can get detailed information on this.

Thanks.






Similar Threads
Thread Thread Starter Forum Replies Last Post
auto-refresh page with asp? nlicata Classic ASP Basics 4 October 6th, 2015 01:52 PM
Auto Refresh and Auto Delete deontae45 VB.NET 2002/2003 Basics 1 September 29th, 2006 04:53 PM
Auto refresh arnabghosh Classic ASP Basics 1 December 21st, 2005 04:33 AM
Auto Refresh mateenmohd SQL Server 2000 5 February 22nd, 2004 07:24 AM
Get user control to refresh apd8x ASP.NET 1.0 and 1.1 Basics 8 November 10th, 2003 04:21 PM





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