Solved

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

Posted on 2013-12-09
2
340 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

746 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

13 Experts available now in Live!

Get 1:1 Help Now