I use the modalpopupextender through out my application for adding records to gridviews. Recently I started testing it on my Droid Bionic and if I have for example a textbox inside the modal window and there are links underneath said textbox it will "click" the link instead of setting focus on the textbox. No events are fired when the link is clicked, but it does prevent me from selecting the control.
After fighting with the CSS for a while I decided to just remove all modal windows from the application and put them their own pages, but before i go through the trouble of doing that I was hoping someone else had run into this problem, and fixed it.
Related
I have a page with a multiview containing 4 views.
I have no issues using this page with normal web browsers, but whenever I use the .net webbrowser control within a windows forms application the following happens:
View(0) loads perfectly with all controls
when I populated the fields and hit the submit button, view(1) loads.
In view(1) there is a datagrid, header and another submit button.
Everything but the submit button is visible on the screen for some reason.
Sometimes when I then use my cursor to randomly select sections of the webpage, the button suddenly appears.
To clarify: The button should be visible at all times, but isn't.
How can I fix this issue?
Figured it out.
.net web browser does not like
"position: relative"
in the css.
I have a modalpopup that open when i click an image in a listview, it runs smoothly and opens fine in local debug mode. But when i publish it, it takes 20 secs approx to open. Can anyone help me please?
The PopUp Code:
http://codepad.org/bId1cy7c
The c# run when click on the image:
http://codepad.org/lWOSKBJJ
In button click the page might be reloading for post back since you written the popup.show() inside the button click event. You can use another update panel for this button so that the complete page reload can be avoided. Please make a try.
When using ModalPopupExtender inside a repeater, when the page loads, ALL of the popups appear without being called ( one for each item in the repeater) and then rapidly dissappear. With this, the popup works , but the problem is these popups being showed at the beginning. The popup is an OK/CANCEL popup, that triggers a postback when OK is clicked and does nothing when cancel is clicked. It is loaded on page load so that it exists when the user clicks on a linkbutton on the repeater. When the user clicks on the linkbutton, our intention was taht the popup appear directly without doing a postback, and this was achieved , just that small problem that random parade of popups at the beginning!thank you in advance!
I was not able to answer until now, sorry.
Turns out the HTML code and the CSS had conflicting codes and that made the popup appear!
I have two modal popups on a page, both inside user controls, and both have different names, and different behavior id's. Also, the hidden buttons used with them have different id's. I use javascript to click those buttons to show the popup.
On load of the page, the first popup is hidden, but the second one is not, and is at the bottom of the page completely visible. When I click the link that is supposed to show the second popup, the first one is shown instead, but the javascript to load the default values into the first popup does not run, so I'm confused as to what is going on. Any ideas?
I have solved the issue. My situation is bit different. for you both pop ups are in a user control. But for me only one is in user control and other one is in the page itself. hope this will shed some light on your issue.
I gave different id's for
Hidden Target button (TargetControlID)
OK button (OkControlID)
Popup Panel (pnlPopup)
Model Popup control
Still if you are not sure, try your page in firefox with firebug installed. This will help you to identify any java-script errors.
Hope this helps.
i used ajax control ModalPopupExtender.ModalPopupextender has panel. in that panel, text boxes and gridview placed and OK button. it has three textboxes and gridview and ok button sequentially. While edit button of gridview and after entering the some intextboxes, the text of textboxes repetedly show on textbox with camma. i dont know it is happening please help me
This is a bug with the specific version of the Ajax Control Toolkit you're using. We ran into this and at the time moved back to an older version of the toolkit. We were using 3.0.30930, which was broken, so we moved back to 3.0.30512, which worked. In our case it was specific to a modal popup extender and an update panel.
Edit: Looks like this was fixed in build 40412