AJAX :: How To Display The Progress Like Model Popup Window
Feb 21, 2011
iam displaying progress image like 'processing' using ajax progress.....i dont want to touch the controls which are in page...it has to display like model popup...
I'm trying to use the modal popup window extender to display a 'loading' icon when the user uploads a file. I'm using the following:
Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(beginReq); Sys.WebForms.PageRequestManager.getInstance().add_endRequest(endReq); function beginReq(sender, args) { // shows the Popup $find(ModalProgress).show(); } function endReq(sender, args) { // shows the Popup $find(ModalProgress).hide(); } //END -- // on the .aspx page <script type="text/javascript" language="javascript" > var ModalProgress = '<%= modalProgress.ClientID %>'; </script> <asp:Panel ID="pnlModal" CssClass="modalPopup" Style="display: none" Width="233px" runat="server" > <img alt="Loading Icon" src="../images/redLoading.gif" />
The file is being uploaded, depending on the number of records this may take up to a minute.
</asp:Panel>
which I found on Berseth's site but I cannot get it to work. 'Null' error when it's trying to pop the window. Does anyone out here have another way to do this.
i have a page Parent.aspx,, and this is responsible to open the window as a model dialog(model.apsx). model.apsx has OK button when we click on this button then server side method called to save the data. while saving the data it return the id of saved data. i need this id on my Parent.aspx.Cs file, so how can i get this id on my Parent.aspx.cs file?
I want to authenticate a user using model popup extender. So I wrote a program to do this. Everything OK when user enter the correct details. But user enters the wrong detail, it should shows in a lablel in a popup panel. It shows; but the problem is it close the popup . But I want to keep the popup if the user enters the wrong details. How can I do this?
I would like to use with asp.net progress bar,I have a problem, because the popup window opened in asp.net.In the popup window, switch between pages that I want to use the progress bar
I need to open as shown below on each button click.How i will solve the solution ..popup is not displaying...bootsrap model popup is working but positioning is a provle.i have display the popup near by on each bubble click.
i have a question, i have a list box with a button below that, when user click on the button modal popup will open (created by Ajax modal Extender ) then user enter somthing on the text box and click on the save next, modal popup will close , and user can see his/her added item in the list box, how can i add some progress bar showing 3 to 5 seconds progress right after closing modal popup window? my code has enclosed:
In my code I am using a popup window to display extra information. I also have the ability to export the information in the main window to Excel.The problem is, after the window pops up -> I see the info -> I close the popup window -> but if I try the export to Excel button, it throws the exception "null object referrence" (if I use a try/catch, the exception doesn't occur - but I don't get any information). In the export function I am doing something like this:
{ //some code .... here con.close(); session["dss"] = mydataset; }
In the export button click event:
system.data.dataset dss = (system.data.dataset)session["dss"]; //then some work on this
I think, probably when the popup window opens it ends the execution and that's why when I come back to the main window and try the export button the values for the tables and all goes out of scope.Also, if I refresh the main page after closing the popup window I don't have any issue and can export the data.
I have a popup with a form on it displaying account details for clients. Each client has at least 1 account but may have up to 999. The popup and form is displayed properly, but when i click on any of the < > << >> pager options, the popup closes instead of moving to the next record in the form.
How to avoid Model popup disabled on postback? I have a dropdown list in model popup control with autopost back="true". On post back am getting customer name. But on post model popup get disabled
I have a panel containing one image, and i use Ajax ModalPopupExtender for show panel when I click button. After I clicked button first, all so good. But, after I refresh or do event on page, panel is show and then hidden about 1s.
My application has been developed in .net 2.0 platformwith a masterpage which doesn't have 'doctype' and was working fine. Now i had to use modelpopup extender from the Ajax Control Tool Kit 1.0 version. when I use this the popup , it is coming up but the page in the IE shows that this page seems to be increased by indefinite size. I found the reason as it was due to 'Doctype' which is not there in the master page. Later i have added the doctype to my master page, now the popup and everything works fine but the page design has got changed.
I am using the form authentication for some folders in my application.So it will ask for login when any request comes to that page.I am using login control in the login page,also modal popup extender to show the login control in page load. That all works fine. The problem is, once the user hits the "Close" on the popup, it closes and then nothing happens,a blank login page is shown. I tried adding javascript to go back ,but did not help.is it possible to show the login page as window.open in javascript so that when i close the login page i will remain in the old page itself without redirecting to empty login page?