CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.dotnetnuke.custom_modules Tags:
Item Type: NewsGroup Date Entered: 7/6/2005 3:18:05 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 13 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
masom
Asp.Net User
Any Idea how to display a Statusbar in a Module for timeintensive processes?7/6/2005 3:18:05 PM

0/0

Hi all,

i developed my own module that will do a lot of database activity within a loop. This activities will take a longher time (up to 5 Minutes). My Idea is to display a progressbar within the process to show the user the remaining time.

But  I don't know how to do this. The statusbars that i found either need a postbak to the server (which will kill my loop) or will work with javascript. I think this statusbar (http://donavon.com/ProgressBarDemo.aspx) will do my work, but how can I refresh the progressbar out of a method in my code behind without leaving my loop?

Here is a part of my Code-Behind
            
           For Each portal In portalCollection
           '...do  something
           StatusCounter = StatusCounter + 1
           If StatusCounter Mod 25 = 0 Then
              ' refesh the status bar every 25 steps
          End If
       Next

This is the clientside Code:

<d:progressbar id="ProgressBarClientPercent" runat="server" borderwidth="2px" borderstyle="Outset" percent="30" height="13px" width="208px" barcolor="Red"></d:progressbar>
   <input onclick="document.all.txtClientPercent.value=SetPercentProgressBar('ProgressBarCLientPercent',parseInt(document.all.txtClientPercent.value,10))" value="Set" type="button"><input id="txtClientPercent" size="1" value="30" type="text">

 

Many thanks
Marcus
1 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
ShopInvoice 1.7 - Powerful Shipping and Order Management Software ... With ShopInvoice it is easy to print, save, edit, and email any template based ..... data entry process became increasingly time intensive, and error prone. ...
FLOWPATH II - 2-D Groundwater Flow, Remediation, and Wellhead ... The FLOWPATH II Output Module allows the user to display all the modeling and ... FLOWPATH II utilizes the lower status bar of the interface as a ...
IDII Software Newsletter - Volume 3, Number 16 - Supply Chain ... RedPrairie's TMS module also supports full multi-client billing. .... The online tool streamlines the time-intensive process of creating feasible dock door ...
You can unbound a segment back into a line or arc back into a full ... The background color can be changed to black or any other color by going to the Tools, Options... Attributes tab. It is always a good idea to make sure you ...
computers, Media and Technology programs suitability of the student. UBC and BCIT reserve the right to modify or cancel any course. or module components, program fee or intake schedule related ...
Handheld remote computer control and methods for secured ... "Telecommunication" is intended to mean any process that enables one or more ..... integrated handheld module incorporating a bar code reader, a speaker, ...
Security and Identification Indicators for Browsers against ... Many browsers, e.g. [Mozilla], simply display any FavIcon identified in the web .... (padlock in the status bar and at the end of the address bar, ...
Authoring Intelligent Tutoring Systems: An Analysis of the State ... What have researchers learned about the process of authoring and the ...... improve authoring for any of the four main parts of an ITS described above, ...
Inversion of gravity data with application to density modeling of ... mantle, the results (Figure 6.10) do not show any rapid variations. ..... part of the main window is a status bar at the bottom. It is used to display short ...
'[fm-news] Newsletter for Tuesday, December 21st 2004' - MARC The use of the "English" module has been removed to work around a bug that exists in some ... Menus and a status bar were added. Some code was rewritten. ...




Search This Site:










gooddogs repository v2.0.5 & dnn v2.1.2

access denied

using profile groups

exception while sending an email in asp.net 1.1

why my hyperlinks don't work correctly in masterpage?

can't delete an ad

hosting requirements on windows 2003 web edition server

hiding subdirectories in file picker drop-down list

smtpclient

global theme

base64encode

bug not in "known issues" list

how to communicate with another page

iis

can i get my other panes to stick around?

loading user control and then removing it

v3.1 fresh installation issue

can't get to dotnetnuke from anywhere bar the host server!!!

how to put a list property in my usercontrol

using password and salt with sha1

defect: filemanger - invalid currentpageindex value

asp.net 3.0 samples???

error when deploy my web site

sectionhead min/max not working after upgrade to 3.0.13

error dll

oledb

users who authenticate are not being redirected as they should

aspx file in sharepoint

problem with nunit & nunitasp

timeout in formsauthentication

 
All Times Are GMT