Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET 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 April 27th, 2005, 09:23 AM
Authorized User
 
Join Date: Aug 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Threading in Visual Studio in a Web Page

Hi,
I have a web page(Page1) that refers to a class(PopMail) which is another WebLibrary Project.
In the middle of the procedure for downloading mails I need to raise an event to the Page telling it the no of emails that are left to be downloaded to be displayed in a text box.
I have succeeded in raising the event.However,the result in the text box only appears after it has finished downloading the emails defeating the whole purpose.
I need to display the user the nos of mails that are left to be processed or displaying the status of the progress.
Thanks and regards
Nidhi Jain

 
Old April 27th, 2005, 10:55 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Web pages are stateless, disconnected interfaces. You can't natively write "live update" logic into a .NET page. However, you could write some dynamic client-side functionality that does what you are asking. You'd need to investigate using javascript and dynamic HTML to call your download process in a kind of background task on the client.

-Peter
 
Old April 28th, 2005, 02:57 AM
Authorized User
 
Join Date: Aug 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Peter for the reply.Could you advice me some links where I could find the related information.
Regards
Nidhi






Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Studio VS. Visual Web Developer expr Astrocloud BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 2 November 23rd, 2008 03:10 PM
beginning c# web app;ications with visual studio.n lyclyc_lyclyc All Other Wrox Books 1 April 7th, 2005 03:43 PM
can't create web form from visual studio mhuman1 ASP.NET 1.0 and 1.1 Basics 4 August 18th, 2004 07:18 AM
Beginning C# Web Applications with Visual Studio rodmcleay All Other Wrox Books 4 October 9th, 2003 10:25 AM
beginning VB.net web programming in visual studio. iamsugartang All Other Wrox Books 5 September 3rd, 2003 01:24 AM





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