VS 2008 AjaxControlToolkit Modal Popup Extender Slow In UpdatePanel
Jul 18, 2011
I know UpdatePanels have a good and bad side but I am still relatively a novice in ASP.Net and I knew no other way. Basically I have a custom gridview, when I click an Edit button a modal popup appears with a panel that contains a formview which is bound to an ObjectDataSource that displays a single record.
Now on my dev pc it's not so slow, but On the clients pc the modal popup takes about 5 seconds to popup
I used fiddler and noticed 33k is sent and 26k is returned. That's not alot so I don't know what the problem is.
I assume it's the UpdatePanel, but How else can I achieve adding and editing of records without refreshing the entire page just for a Gridview to be refreshed.
I've implemented it in too many places in my project to change now. What else can I do
I just added a panel with the ajax modal popup extender and rounder corner extender. It worked great! I then added a second one named completely different and using two different buttons for the TargetControlID. When i run the page, the first one that worked fine does nothing and same with the second when I click either buttons. No errors, etc.
So i want to see if I can have two of these or not? What would cause it to stop when adding another panel with extenders?
I am trying to get a modal popup inside a modal popup?, also i want to fire the modal popup on a condition in a text change event of a textbox?...is this possible and can anyone give me directon on this
I've looked at every problem associated with the Modal Popup Extender to no avail. I'm using Visual Studio 2008 with the latest Ajax Toolkit. And I've tested it on all the major browsers and it doesn't work on any. I've poured over numerous examples and they all look like mine but it still doesn't work. As of right now, everything is running on my local host. I do have a script manager as well because in this snippet it doesn't show it. All I want to do is to show the panel with some text in it. So it isn't super fancy. All that happens when you click the link button is a page submission. Also, after I click on the link button I get the "Confirm Page Resubmission?" alert when ever I refresh the page to test new code. Here is the code.
The Top is IE and the bottom is FireFox. Firfox is showing correctly. In IE, however, the grey background start directly on the left edge of the page and not across the window span, and the modal target stays below the grey background.
I have a base page in which i have a listbox. The base page is also having a modal popup extender. When the modal popup extender appears over listbox, the listbox appears through modal poup. That is, only for listbox, the popup extender becomes transparent.
I have a ASP.NET page where a modal popup extender is shown when we click on a link button...There is a submit button in the Modalpopup extender which inserts the data into a DB table.... the proble is there are field validators for the textboxes in the modalpopup extender...for which validation is required...
After entering the values, in the textboxes the submit is working for the second click, but not on the first click...
i have created an ajax modal popup extender and i want to be able to grab the values in the textboxes that are on the panel. how do i accomplish this from code behind:
[Code]....
once i have the value i need to perform a stored proc and isnert into the database. i have this part sorted but not sure how to grab the values initially.
I try to accomplish the following: When I click on a LoginStatus to log out, I want a modal popup extender to popup ONLY when some condition is true.The mpue has a targetcontrolId that refers to the LoginStatus-control, a PopupControlId that refers to a asp:panel-control.So far I accomplished only two situations:
I have grid and it shows certain record on searching ..and have few columsn like transactionID .Stauts etc etc ..also it have ModalPopupExtender under the panel (asp panel )
When I click on status column ..it should show modalopopup that show two things ..ErrorCode ,,ErrorDescription based in transactionID
When using a modal popup extender along with an embedded video, the popup is hidden behind the video in IE but works as expected in FF.I've tried manually setting the z-index of the popup to a huge number and the z-index of the video object to 1 but this makes no difference. I've put the code for a sample page below.
I have one Panel on ascx control to which I have attached one Modal popup extender. On this panel I have one RadioButtonList control which having SelectedIndexChanged on which I have made CheckBoxLists visible True/False.
I want to add Update panel to this Panel . So when I handled the SelectedIndexChanged event there should be no total page post back, only Panel updates should be happen.
Where is the Problem with the popup within a asp updatepanel. It works fine in IE8. But in FireFox (Version 3.6.11) it works only sometimes.
ASP-Control for PopUp (PopUp.ascx):
[Code]....
CodeBehind: PopUp.ascx.cs to show the ModalPopUp
[Code]....
Our test: We set the Button "UIButtonHiddenTarget" visible (remove the css Style="display: none;)
After the click this Button, the popup was display everytime.But we trying to open the PopUp from server side with "UIModalPopupExtender.Show();" and only somtimes the PopUp will not open in Firefox.
I have a login control on a web application. I am using a modal popup extender to show a message when the login button is hit. That all works fine. The problem is, once the user hits the "OK" on the popup, it closes and then nothing happens. I tried adding javascript postback but did not help.
I need to set focus on a textbox in parent form after the pop extender closes. I am setting the focus before showing the popup, but when the popup closes, it is lost.
I am using modal popup extender to display a user control which has AjaxToolKit- calender extender. When i click on it, it is shown in the background and i cant click or select a date.. i couldnot get it to work..
I am using a griview, in gridview placing a linkbutton then when click that linkbutton a modalpopup should occur. I am using oncommand method in linkbutton to get sum values, that values is display in the modal popup control. How can i acheive this , give me a sample code.
Usually my Modal popup extender is center by default. However, I have a modal popup that is not center - the modal popup is located on the right lower side of the screen. I have a CSS class for my website that I really dont want to start tracking to see if it is causing my problem (In fact I am pretty sure thats the cause of the problem). So I was thinking...
Is there anyway I can manipulate the modal popup position through the CSS. For instance:
[Code]....
The above is not working, it doesn't do anything to manipulate the width of my background and the position of the modal popup.