Solved

How Do You Show a File Load Image on a Stored Procedure Load?

Posted on 2013-12-09
2
342 Views
Last Modified: 2013-12-12
How do you show a file load image while loading a stored procedure.  I am using Visual Basic .NET and I am calling the stored procedure through a ASP.NET button click.

Thanks,

Dan
0
Comment
Question by:danielolorenz
2 Comments
 
LVL 14

Assisted Solution

by:dejaanbu
dejaanbu earned 250 total points
ID: 39707874
There is nothing specifically to indicate that a stored procedure is loading in background
You can show a loading progress indicator for this. Here u can get an idea

http://www.dotnetcurry.com/showarticle.aspx?ID=227
0
 
LVL 10

Accepted Solution

by:
Monica P earned 250 total points
ID: 39713414
you can use Ajax concept yo implement  this

<asp:UpdateProgress ID="uploadprogress"  AssociatedUpdatePanelID="LoadPanel" runat="server">
 <ProgressTemplate>

<div id="IMGDIV1" align="center" valign="middle" runat="server" style="position: absolute;visibility:visible;vertical-align:middle;border-style:none;border-color:black;background-color:transparent;">

  <asp:Image ID="Image1" runat="server" ImageUrl="Images/loading.gif" />Loading...

   </div>

  </ProgressTemplate>

 </asp:UpdateProgress>

Open in new window

in code beind
button_click() use the Sleep

System.Threading.Thread.Sleep(3000);

Open in new window


Some more working example
http://www.aspsnippets.com/Articles/Display-loading-progress-image-when-Page-Loads-or-does-PostBack-using-ASPNet.aspx

http://www.dotnetfunda.com/forums/show/3127/show-loading-image-during-button-click
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now