AJAX :: How To Activate The Same Progress Icon From Two Buttons
Jun 15, 2010
I am able to update two panels from one button click, Added updateprogress on both panels and on button click it shows the "Loading" icon. But how if I want to icon to show up if user clicks another button which is not part of updatepanel?
I am attaching the code.. in the code I have a button "Show CD Info". When user clicks this button, I load a GridView on the left (Grid Panel) and a simple labels on the right (View Panel) that shows the first record. During the load, user see the Loading icon.
Also, user can click "Refresh Grid" button to refresh ONLY the grid. "Clear" button to clear the labels on the View panel on the right. To accomplish this I have added triggers on Grid Panel
[Code]....
and on View Panel
[Code]....
This code ajaxify my requirement but how to show the progress icon when I click Refresh or Clear buttons?
Here is the code (.aspx):
[Code]....
and (code behind .c#)
[Code]....
let me know how to activate the same progress icon from two buttons?
View 8 Replies
Similar Messages:
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 7, 2010
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,
View 2 Replies
Apr 14, 2010
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 ;) )
View 1 Replies
Feb 16, 2010
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.
View 3 Replies
Apr 9, 2010
Using ASP.Net/VB.Net 2005.
I have an accordian inside a nested gridview that is controlled by an imagebutton. The Imagebutton is a plus sign "+" and the expand/collapse functionality is working great.
What I need to do is when the user expands the accordian is to change the plus ("+") sign to a minus ("-") image. I am trying to do this with javascript but its not working.
View 2 Replies
Jul 8, 2010
i am develpping a alarm application when user minimized this it should be minimized appear near the system clock,local area connection icon(as hidden icon).
View 3 Replies
Feb 22, 2011
i assigning an imagebutton to an image url in css causes my image to still show, but also the icon for an image if there isn't an image. If I declare it in the html instead, it shows fine, only when I try to use CSS for the referene to the image url.I use the following syntax for the image in css
background-image: url(image1.jpg);
Again, it is finding and showing the image, but it is also showing the windows image icon.
View 2 Replies
Jan 8, 2011
How to activate a specific TabPanel in TabContainer from code behind? I tried the following but it doesn't change activate the tab.
[Code]....
View 2 Replies
Dec 3, 2010
I want to activate sub tab panel from main tab panel. The tab order is in following . So I want to Activate sub panel2 in tab container 2 from main panel 1 in tab container 1 using java script.
Tab container
Main Panel1 Main Panel 2
Tab container 2
Sub panel1 Sub panel 2
View 4 Replies
Sep 30, 2010
i want to know how to activate modal popup extender only on some condition and that to on button click
eg:-if(a==10)
{
activate modal pop up
}
View 1 Replies
Feb 19, 2010
I have a button that is inside of an updatepanel, I want it so that whenever the user clicks on the button it would update items in the updatepanel and after that it would activate the animationextender but I can't do that as of now because on the button I have OnClientClick="return false;".
View 3 Replies
Dec 2, 2010
I am using the following syntax for my loading icon
[Code]....
however once the page loads fully, I have a missing icon image showing up and I dont know why....how do get rid of it
View 2 Replies
Aug 26, 2010
I'm trying to change message icon running using ScriptManager - RegisterStartupScriptIs anyone know how to change icon using ScriptManager ?
View 6 Replies
Aug 3, 2010
i use the code for my cascade dropdown list.my JResult function in cotroller doing some complex job.. ( i already fine tune it).based on that function my second dropdown list and some other controls values sets...now i want to show "busy icon" operation while this controller works in background
View 1 Replies
Feb 1, 2010
I have the following list of projects WebUI (WebSite) , DataAccess (ClassLibrary) , LogicLayer(ClassLibrary). Those of the project are purposively crated separately.But my scenario is, need to create only one solution file, then add all of the above projects under this solution file. So that i can be easiy interacted and changes can be made by opening solution file only instead of opening each project individually.
Simply all of the layer projects are under one roof means one solution. I tried it by adding solution first, then i added already existed project into this. But once after added already existing project the solution icon vanished by showing the icon of recently added project. By this way I could not add another project into this section too.Hope this is the way the basic real-time projects are created; to achieve the centralized control over architecture based projects.
View 4 Replies
Jun 12, 2010
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 )
View 1 Replies
Mar 28, 2011
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..
View 4 Replies
Jan 16, 2011
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
[Code]....
View 2 Replies
Jan 29, 2011
i want to use update progress in asp.net 3.5 . i want to show update progress while page loading like gmail.
View 7 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, 2010
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?
View 3 Replies
Apr 29, 2010
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.
View 2 Replies
Apr 20, 2010
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?
View 3 Replies
Feb 25, 2011
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.
[Code]....
View 2 Replies