Is it OK to use threading.sleep in an intranet web application to display AJAX loading (in production environment)? Off course, the application works fine without it but all works too quick for the end user or even a developer to notice any difference.What is the recommended approach ?
I've got a plain C# web page that uses jQuery to call a handler page using AJAX. While the handler content is loading, a message "Please Wait, loading..." is displayed. Once I've got the content back from the handler I hide the loading message and display the content.What I'd like to do is after the loading message, display a percentage of how far through the handler page is. All the handler page does is loop through a list of members, powered by a web service, and adds them to the database so I know exactly how many members are being added to the database so I can tell how far I am through.The problem I'm having is because all of this goes on in a handler, how can I send the progress percentage back to the main web page while the handler was still loading.Any ideas? If I could do the exact same task but differently which would allow me to create the progress bar,
I'm trying to make a progress bar that updates the user on the progress of the AJAX call.
My immediate thinking was that I need an AJAX call to start a thread on the server, allowing the starting AJAX call to finish, and allowing the thread to send updates back to the user.
For the purpose of simplicity, disregard the actual progress bar functionality (I was thinking of implementing one of those JS bars, with fancy colors and effects ;), but if I can get an update from the thread, then updating a simple JS progress bar becomes trivial ;) )
I have a wierd issue with the update progress control in ie8. I have a modal popup that loads a pdf in an iframe, then i have a button click that navigates away from the pdf and shows a form in the same modal. All this is wrapped in an update panel, which i have an update progress control associated with. The control shows correctly in ie7, firefox, safari, and chrome. But in ie8 when the async post back is complete the progress indicator does not hide, until I click on the screen or scroll the page, then it hides and the form shows.
Sometime,ajax request will not be responsed when user's network delay is high.So,if I want to stop the request and tell user "request time out" in the client ,What sould I do with asp.net ajax .
I have a modal popup extender and associated panel on a page. The modal popup is displayed when a user clicks on a button. The content of the popup might consist of a series of hi-res images which might take a significant time to download. The problem is that although the modal popup is not shown its content is downloaded regardless. I think that popup is initially assigned "display:none" and it's code and content are downloaded by the browser - which is an expected behavior.
how to delay download of the content until the popup is shown?
I think I could do a server-side show() on the modal popup but I wonder if there are other solutions.
I'm using a an Ifram that switches between several pages, each page contain a report viewer and takes time to load (about five seconds) since I'm using an Ifram the end user will not notice the loading of the page behind the seen (report pages) he will only notice a quick loading of the Ifram page ! so I tried to use the update panel and the update progress to show a waiting or loading progress image when the page loads or post back . but this doesn't work in Ajax since Ajax is not compatable with the report viewer .is there any way to show a progress waiting message during the page load using Javascript ?I Found many scripts like this that show a waiting message or image BUT the script starts after the page loads completely (a silly loop for 3 seconds maybe then hide the message )
I have to add a progress bar on my web page to show the progress of submission. My page on submit saves the data in the database. I have to show user how long will the submission take place. For an e.g., 50% Completed and so on..
I want to use a progress update and have the code, but it won't let me put it on the screen where I want to. How can I control where it is on the screen?using asp.net; vb web developer 2008; access db
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
I have a question about using the update progress control. I gasp the basic use of the control - basically you can associate it to an update panel, and whenever that update panel is updated, this update progress control is displayed on the page.
I do have a couple of questions though:
1. My project uses a lot of user controls. I would like to display an update progress control that "disables" or "whitewashes" the contents of the user control - which for this example - lets say it is a gridview and a drop down list - when the user changes the selected value of the drop down list, the grid rebinds. I want the update progress control to shadow or whitewash only that grid while it rebinds. The rest of the page should be accessible.
2. I have certain pages that I want to be locked while an update panel is updating - in otherwords, the entire page is whitewashed or shadowed out and a ajax loader gif is shown. I currently have this working with an update progress control that does not have the AssociatedUpdatePanelID property set. This appears to fire every time any update panel is updated. If I were to have one of the user controls that has an update progress control that only applies to itself - and those update panels update - which update progress would be shown?
I am doing so many process in a single button click.It is taking more time.So I want to show a progress bar with percentage or status of the process.Is there any way to implement this.
I'm just getting started with ajax. I wonder how this is done. On a button click I am gone read a text file and add the parameters to a database. now this function is done today, I just want to update it so it's done with AJAX. I want to have a progress indicator too. How is this done?
There is a nice video on progressbar at [URL] where the URL is: [URL] But the progressbar is not displayed modally. It only gives an illusion of being modal based on the CSS. If I put another button either within the Updatepanel or outside, I am able to click it, and it post backs. Is ther any other settings needed to be added or it will never be modal? I have included the code downloaded from the site along with my extra button.
I have 4 file upload and one upload button.When i have used an update panel then file upload loses it's content.So i have used trigger with postback.But still a progress bar is not displayed?
Problem is, within datalist 2, I have some linkbutton's and I'd like to show a progress "gif" (update progress) when the button is clicked. I can create the update progress, but when you click the button, you get the "gif" shown for every item in the nested datalist. Anyone know how I can identify where I am in the datalist (which linkbutton) and only show the progress "gif" for that button?
I have treeview on my webpage , I am populating it on server side coding.All the tree nodes are documents like .doc or .pdf and with their path as navigation url. My problem is that when I click on node , it takes time to load the document. So I need to show progress bar for the time it takes to download the document form server.
I am trying to set the value of dropdown box thru client side javascript postback function. On client side event I m calling something like __doPostBack('<%=UpdateButton.ClientID%>', month); The update button is inside update panel. When i debug it, i see my code in vb.net to change the selectedindex property, but on screen it shows the old value.