Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3271110
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T18:41:54+00:00 2026-05-17T18:41:54+00:00

I have a modalpopup extender that works on IE (8) and does not work

  • 0

I have a modalpopup extender that works on IE (8) and does not work on FF

I have searched google for hours but I could not find a solution yet.

I do have this code

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

at the start of the page.

And this is the modalpopupextender :

<ajaxToolkit:ModalPopupExtender ID="modal2" runat="server" TargetControlID="LinkButton1" PopupControlID="divAddNewRows" BackgroundCssClass="modalBackground" OkControlID="OkButton" OnOkScript="onOk()" CancelControlID="CancelButton" BehaviorID="modal2" Drag="true" PopupDragHandleControlID="divAddNewRows" />

And this is the div on the same page:

<div id="divAddNewRows" style="display: none;" class="modalPopup" enableviewstate="false">

This is the css :

.modalPopup {

/background-color:#ffffdd;/
background-color:White;
border-width:3px;
border-style:solid;
border-color:Black;
padding:3px;
width:670px;

}

The code is using javascript to make a call to this and it does .show() like this :

if (xmlHttp.readyState == 4) {

if (xmlHttp.status == 200) {
if (xmlHttp.responseText.length > 0) {
var div = $(“div[id$=divAddNewRows]”)[0]; //document.getElementById(‘divAddNewRows’);
div.style.display = ”;
div.innerHTML = xmlHttp.responseText;
//use popupmodal extender to display
$find(“modal2”).show();

// default to first textbox, if we can. 
try {
 $("#savefield0")[0].focus();
}
catch (err) {
 // do nothing
 var noop = err;
}

}
}
}
else {
//alert(“An error has occurred, please try again later. If the problem persists please contact support and quote error code 3, status code” + xmlHttp.status);
}

Before the first ‘if’ it will call xmlhttpobject and this works fine.

Can someone please give me a hand on this?

Best Regards.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T18:41:55+00:00Added an answer on May 17, 2026 at 6:41 pm

    Gave up on this. Using jQuery instead.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem with this that works for one button and not for
I have a ModalPopup that will contain a gridview and 4 fields to enter
In a module i have a sub that create modalpopup and show result of
I have a modal popup extender tied to a asp:panel control that I want
I have searched for most of the day for an answer to this but
I have a panel that is hooked up to a ModalPopupExtender but it can
I have a command field in a gridview, that as it is, works as
I have one modelpopup extender, in that one textbox and two asp.net buttons(save,exit), textbox
I have a Modal Popup Extender(MPE) , it has textboxes that are build dynamically
I have ModalPopupExtender that contains a UserControl that basically consists of a GridView and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.