Solved

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

Posted on 2013-12-09
2
349 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

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…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

615 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