Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2013-12-09
2
Medium Priority
?
356 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 1000 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 1000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
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…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

927 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