Web Forms :: Progress Image Is Moving Only One Time When Page Is Loading
Aug 11, 2012
I am making one application where i am fetching huge data from database to gridview.
for this it was taking some 30 to 40 seconds. so instead of showing nothing in the page
I am using update panel and update progress bar.
everything is ok but when progress image is showing in the page that time it's moving only one time and stop and before completing page postback.
Here is my code:
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</asp:ToolkitScriptManager> <div><script language="javascript" type="text/javascript">
var prm = Sys.WebForms.PageRequestManager.getInstance();
var popup = $find('<%= modalPopup.ClientID %>');
prm.add_initializeRequest(InitializeRequest);
[Code] ....
And here is my code behind:
protected void Button1_Click(object sender, EventArgs e) {
con.Open();
SqlCommand com = new SqlCommand("select * from processdailydata", con);
SqlDataAdapter sda = new SqlDataAdapter(com);
DataSet ds = new DataSet(); sda.Fill(ds);
GridView1.DataSource = ds; GridView1.DataBind(); con.Close(); }
i want to show progress image move regularly untile page load is not finished.
View 1 Replies
Similar Messages:
Mar 30, 2010
I have an asp.net page, with couple of Divs, some of these div's get the image path from database and show the image in a smaller version (thumbnail). and as soon as the user click on thumbnail, I use ajax Modal popup to show the full size image, what I need to have is to have a progress image(gif), on every thumbnail image while loading the asp.net page for the first time, I konw that it is possible to use UpadePanel, but I need the actual working code,or any other way to achieve this,
View 3 Replies
Feb 24, 2011
i want to show a loading gif while page loading. I am opening a popup window from javascript using window.open. I just want to display an image when mozilla or IE progress bar is being shown as gmail does when we login. I know how to show loading img after page is loaded i want it with the progressbar of the browser.
View 2 Replies
Oct 13, 2010
When I click Submit button in my Registration form it should be open a (div) progress bar Showing processing.... (or) loading and block background.how to display a progress bar loading.... in div after Submit button click??
View 1 Replies
Apr 3, 2010
i have developed my asp.net application along wih crystal report .... i need to show loading image on ever client and server side request .... (i.e) like when ever IE progress bar get loading i want to show my gif loading ... after IE progress bar finish its loading, my gif loading image should disappear .
View 2 Replies
May 7, 2015
How do I show my progress bar control on my page I am trying to display some of my data after click on seach button, it's taking a little bit time to display result.I want to show progress bar.I use this code in my page but it dosent work.How do I use progress bar?
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SearchUC.ascx.cs" Inherits="AksWebSite.AksWebSiteUC.SearchUC" %>
<link href="Css/style.css" rel="stylesheet" />
<style>
body {
color: #000;
[CODE]...
View 1 Replies
Apr 27, 2016
Displaying loading gif image whenever my page takes time to load but not for particular single control. i had seen this. URL...but it working for button , can i check it for my whole page and all controls whenever it takes times to load.
View 1 Replies
May 7, 2015
I have implemented Jquery loader by seeing your article URL...I have implemented this in Form submit. I'm working on export gridview to excel, when i click on export button i'm able to export gridview to excel but jquery loader still appear after complition of export. How to make it disappear ?. I'm using EnableEventValidation="false" by seeing your article URL... Because of this am i getting this problem?.
View 1 Replies
Apr 19, 2010
Loading image is not moving in response.Redirect
View 1 Replies
May 19, 2010
I have an accordin in my asp.net page, users can upload document and images,and I save the image and document path on sql server,and get the information from there,to show the document and image which are saved in web server,
How can I show loading image, or progress bar, when the user first connect to the web server?
View 2 Replies
Mar 19, 2011
How can I show loading image for the user while executing long running process in an ASP.Net Ajax application? Is there a way other than using Page Methods? Any ideas?
View 2 Replies
Jan 23, 2010
I want to view something that shows that page is loading and it shows only the gif file which I will put and not the page. I want t to view the page complatelly not one image is loaded and another is unloaded.
View 3 Replies
Aug 12, 2012
I have to use progress bar when page postback. in my application report section is there. it's taking some time to generate the report. so i want to show some progress bar.
When page load progress bar should show. and when page load finish the progress bar should hide.
I googled many thing mostly they are using thread.sleep method but i don't want that.
The progress bar should fully depend on page loads.
View 1 Replies
Apr 22, 2010
my application is running in visual studio 2005, i used ajax control toolkit for .Net framework 2.0.but now i want to use ajaxcontroltoolkit latest version which is for .net framework 3.5 in my application which is running on .net framework 2.0 and visual studio
2005.how to integrate or use ajaxcontrol toolkit ?because i have some functionality like there is one file upload control and when click button it will take 2 to 3 min for upload so
i need progress bar with loading gif file.because of asynchronous postback fileupload control has not file.so i must assign postback trigger to button if i assign postback trigger to button than loading gif or progress bar not working.so i want to use AsynchFileUpload control of newly release toolkit.
is there any way to do it? or any other way.my client also not want to switch over it's application from 2005 to 2008.My code is below
<asp:UpdateProgress ID="uppr" AssociatedUpdatePanelID="up" runat="server">
<ProgressTemplate>
<div id="IMGDIV1" align="center" valign="middle" runat="server" style="position: relative; display:none; [code]....
View 1 Replies
Dec 23, 2015
I'm using Excel Package in ASP.net to export my gridview sql query. I want after the client click on the button export to excel, to have an icon loader showing next to the button.
View 1 Replies
Sep 21, 2010
I have a new issue regarding the progressbar I have a page from which i am passing a parameter to CrystalReportviewer on the next page and a converting a Crystal report in to PDF .My problem is i want to show a progress bar while the page is loading (on which crystal Report Viewer is Placed) and writing a PDF file I have already place a scriptmanager Updatepanel and updateprogresbar on that page but the still the page is showing blank while loading the page
View 10 Replies
Feb 10, 2011
I want to show a show progress bar gif while loading pages.
For further information I have my pages structure as Master page and child pages.
I don't have ajax support and I am working in asp.net2.0 with vb.net.
View 7 Replies
Jan 8, 2011
I do not even know what to call it, but I would like to add something to show my page is loading. I have not yet figured out why, but sometimes they load almost instantly. And sometimes they take up to 15 seconds, giving the impression that nothing is goingto happen. I see a little clock face ticking on some websites. I don't care what it is, as long as I can suggest that the site visitor be patient
View 3 Replies
Mar 18, 2010
In aspx page I have dynamically loaded user control(ascx). Everything is working correctly.But it takes too much time due to large amount of time.
Now I try to add Page loading progress in aspx page, its not working.
I use a asp:panel to show modal backgroud when loading.
In aspx page:
[Code]....
View 8 Replies
Jul 7, 2010
I am using a master page which has a table that is used for layout. In one of the cells I have a Accordion control which holds links in each panel to navigate to the various pages. I have a few pages that take some time to load so I was trying to use the update panel progress control, however it seems that you cannot use a hyperlink or a link button as triggers for the update panel or if you can you cannot if it is in an accordion control.
So I am seeking advice on how to show a loading message when the pages load in the content panes.
View 6 Replies
Mar 6, 2013
I have update panel on the page to avoid postback and placed a dropdownlist control within that update panel. DrodownList is filled with Category names and also it's autopostback set to True.
Now whenever dropdownlist index change's on select, untill page loads complete data it should show mesage as "Loading.... in center and middle of the page and background should become bit transparent". And when page load completely with data then that background and message should get disappear.
View 1 Replies
Dec 18, 2010
I am having a change password page in that when the user change his password and click on submit i will show a message and will redirect to main form. But the text which i like to display is not displaying. What i need is i would like to have the page in the same form for few amount of time and then redirect to the desired one.
<script type="text/javascript">function LoadPage()
{
var v =setTimeout("MovePage()",5000); //will call the MovePage() function after 5 seconds
}
function MovePage()
{
location.href='/FedData/newRoutingNumbervalidator.aspx';
}
</script>
View 2 Replies
Nov 22, 2010
I have developed an application in asp.net with crystal report. It has more than 30 pages in the project. Now I want to improve the performance of the application.1. What I need is , I want to know each and every page loading time and where actually it take long time to load while requesting the page.There are so many tools available. But am not able to follow as where actually the problem is and how to solve.
View 6 Replies
Jul 14, 2010
I recently re-develop our company's web system. However, when I just finished everything, our internal user complains that the page is noticable slower than the old one. I tested it on my machine and it seems to be ok. As it is a major concern of my manager, I decide to add a bit of code to return the time comsumed in page loading. Can someone give some idea about it? What I try to know is: from the time user click on "submit" button until the page is fully loaded to the user, how many seconds it costs. I have ajax in the page. Is it possible to do it in js? or any other sort of way is fine too.
View 10 Replies
Jan 18, 2010
i currently use the context.timestamp function to get the time in the beginning of the request but i want to know if i can check the time sooner in the pipeline (before the load page phase) or the timestamp is the earlier time i can get. now i need to find the latest time after the request was processed, of course i can check the time in the end of the function, but is there somewhere else where i can check the time of the request ending.
View 3 Replies