RE: Firefox not displaying popup correctly



Hi Joe,

As for the popup window, it seems use script to create div or table and
display it. Ithink the first problem you mentioned maybe related how the
popup component retrieve certain information in the xhtml page (through
javascript DOM ).

As for ImageButton postback issue, is it also related to the "CreateWindow"
function? I've tried the following simple script handler which will not
generate postback when I click the ImageButton.

=============
<asp:ImageButton ID="ImageButton1" runat="server"
..............
onclick="ImageButton1_Click" OnClientClick="alert('hello');return
false;" />

=================

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "Joe" <jbassking@xxxxxxxxxxxxxxx>
Subject: Firefox not displaying popup correctly
Date: Mon, 7 Apr 2008 22:22:42 -0400


Hi All!

I'm using a script to show a popup.
http://www.openwebware.com/products/openpopups/

This displays fine in IE but it does not work right in Firefox. In Firefox
it displays the table but that's it. If I move the call to createWindow
outside of a form tag then I get a small window with a title bar but no
body.
Now if I change the DOCTYPE to HTML instead of XHTML then it display
correctly but the entire page isn't right. Text is too large and bold.

In addition I'm displaying this by clicking an ImageButton. I'm calling it
in the OnClientClick something like this:
onclick="createWindow(.....);return false;"
yet I still get a post back unless I use the HTML instead of the XHTML.

Is there something else that could be done to get this to work right? IE
doesn't like the HTML otherwise I would just use that.

Thanks,
Joe




.