AJAX :: Update The Progress Counter From The Filehelper Class?
May 31, 2010
I have a small C# ASP.NET app, and want to include an Ajax progress counter. The architecture is currently like this: Web Application --> calls a class that does the upload For example, in default.aspx, I call :
FileHelper fh = new FileHelper()
fh.MoveFiles(file)
I have an Ajax control that fires when the above is called. This is a control that resides on the website class/project. How do I update the progress counter from the Filehelper class? (I don't think calling the control directly would work as it would be a circular reference)Also how do I continuously update the counter?
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.
I have a webpart with - amongst other things - a button, that queries an external Oracle Database in the onclick handler. The Oracle server in question has high traffic and the connection fails from time to time. To counteract this, i've set up a loop to retry a specific amount of times. To inform the user, i want a Label below the button that gets refreshed if something happens. This is my current code :
[Code]....
In the click handler, i have something like that :
[Code]....
However.. this doesn't work because there is no actual postback within the event handler.
I want to data bind jQuery Counter just like we do to Ajax Counter. Also I would like to know that do we have events for jQuery counter just like we have a tick event in Ajax Counter?
I have a user control, that has an update panel and update progress control in it.
I use this user control in more than 1 location on the same page.... problem is, when ucA posts back, I see the update progress control for both ucA and ucB. I assume this is because it is a user control and the update panel and progress are named the same?
Either way - how do I make it so that the update progress only displays for the proper user control?
I have update panel , in update panel i have one button control which exposes onlientClick event ( it dosent have click event to do postback to server).
and i have one updateprogress panel. So my problem is though i'm performing operation on client side , internally the async event is firing and making updateprogress panel to act (having rotation gif image) which i dont want , as it rotates for 10-15 sec more even after the operation at client side is done !
I have written a Crystal reports web application, that prompts ths user for parameters and then apply them and exports the report to a folder as .rpt and then display the report.
I prompt the parameters on one screen and then display the report on another page. I have the AJAX update panel and update progress controls in the parameter page. When the user enters the parameters and click on ok, I export the report and then loads the report to a session report document and transfer the user to the second page where the report is displayed. I use the following code to do transfer to the seconds page.
I have excluded the report load and parameter assign code here.
[Code]....
In the second page I have the following:
rptViewer.reportsource = Session("rpt")
My problem is this works one time and then stops working the second. What I found out was it comes to the statement:
Response.Redirect("show.aspx")
But it does not even load the show.aspx page. It stays on the parameter page. There are no errors displayed. I could not see any errors when I debug the application also. And out of the blue it works sometimes. And if I remove the update panel and progress control, my report works all the time.
I am referring below url link for update progress, how can i use if i have multiple update panel in page and how to make it working without mentioning sleep time, like it works update hides when processing complete else it works till execution
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'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 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?
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.
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.
I developed my application form in aspx page its such a huge form(6000 lines), I used update progress there for that updatepanel, But i cant able to see the update progress icon when i rendering the page.
I want to update my UI with work-progress within a thread. So i am planing to call webmethod every 2 seconds to get the current progress status. This is my code but I can not complete it.
I am working on VS2008 asp.net 3.5, I have problem regarding progress bar. When I used it on List Page it works fine image is rotating but on update page image is not rotate, it looks like static image
Im using youtube api for uploading videos on tube through my website. I am able to upload the videos, but what i need is something to show to the user that my webpage is doing something. So to do that i am using an update panel with update progress. That problem im having is, when i clicked other buttons the update progress shows, but when i click on upload video button which is of input type file and submit, it never shows the update progress. Although there is a request in the page wwhich shows in the status bar about connecting to youtube.
I have an update panel with update progress control within an Ajax Tab Container. It's all working fine, my primary question is how to style (CSS) the Updateprogress control so that it displays within the tab container (rather than over the entire page) AND displays on top of the tab content.
I have an update panel with an update progress in it. The update panel's height grows with the length of the dynamic contents. I have the update progress height set to 100% and it is using the page height. How can I get the update progress div height = the update panel height? I have tried javascript and jQuery so far to no avail.