Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: Pop up disappears at 800x600 resolution

Reply
Thread Tools

Re: Pop up disappears at 800x600 resolution

 
 
Brian Williams
Guest
Posts: n/a
 
      01-18-2007
Do you have any client side code that gets called when items are selected or
the page loads?
Is the drop down list set to AutoPostBack?
Have you checked your web log for errors?
Have your tried this from other computers with the same results?
Is the popup windows a modal dialog?

Sorry about all the questions, but without your code it's hard to tell
what's going on.

Regards,
Brian K. Williams

"Cutlass" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> App is C# / ASP.NET 1.1 / IIS
>
> When a monitor's display resolution is set to 800x600 pixels, there is a
> pop
> up window that disappears when the user attempts to select one of the
> first 2
> items from that window's drop down list. The pop up just disappears. If
> the
> user selects any of the items between rows 3 & 18, the window works
> properly
> and the user is able to continue making selections on the pop up. If the
> screen resolution is changed to greater than 800x600, then the pop up
> works
> fine for all items on the drop down.
>
> Can anyone explain and offer a fix for this?
>
> Thanks!
>



 
Reply With Quote
 
 
 
 
Brian Williams
Guest
Posts: n/a
 
      01-18-2007
Just for giggles, try changing the Model Dialog to Window Open see what
happens. I have ran into strange things with modal dialogs before.

-Brian



"Cutlass" <(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
> More weirdness
> In debug mode:
> When in 800x600 the javascript line...
> parent.frames["detail"].location = ewbsWebUIURL + "WBFlightResult.aspx" +
> "?flightId=" + flightId;
>
> executes, when changing to a higher res that line does not execute....
> I know this cause I put and alert in
>
> "Cutlass" wrote:
>
>> Hi
>> Thanks for reply
>>
>> To poup is displayed via jscript PaxWtException module shown below.
>> When the user selects Row 1 of a drop-down box on the Popup the
>> lstSeatRow_SelectedIndexChanged gets executed.
>> When it passes the last line of this routine the Popup disappears. (only
>> when running 800x600 !) Otherwise it works. Running hardware doesn't
>> matter.
>> There are no Web log errors.
>> Below is HTML too.
>> Any advice appreciated!
>>
>> private void lstSeatRow_SelectedIndexChanged(object sender,
>> System.EventArgs
>> e)
>> {
>> try
>> {
>> ctrlMessage.InnerText = "";
>> string temp = lstSeatRow.SelectedItem.Text;
>> seatRow = Convert.ToInt32(lstSeatRow.SelectedItem.Text.ToStr ing());
>> DataRow[] datarow = equipmentSeatTypedList.Select("SeatRow = " + "'"
>> +
>> seatRow + "'");
>> ArrayList tempList1 = new ArrayList();
>> foreach(DataRow row in datarow)
>> {
>> tempList1.Add(row["SeatLetter"]);
>> }
>> lstSeatLetter.DataSource = tempList1;
>> lstSeatLetter.DataBind();
>> seatLetter = tempList1[0].ToString();
>> isSeatRowSelected = true;
>> lstSeatLetter_SelectedIndexChanged(sender, e);
>> }
>> catch(Exception exp)
>> {
>> ctrlMessage.InnerText = "Select the valid seatrow";
>> }
>> }//end of lstSeatRow_SelectedIndexChanged()
>>
>>
>> function PaxWtException()
>> {
>> var flightId = 58645;
>> var seatRow = 0, seatRowIndex = 0, seatLetterIndex = 0;
>> var seatLetter = "";
>> var weight = 0;
>> var isDelete = false, postbackControl;
>> var settingsString = new String();
>> var loginObject;
>>
>> var selObj = document.getElementById('txtFlightID');
>>
>> flightId = selObj.value
>> parent.frames["statusBar"].location = enableStatusBar;
>> settingsString = ewbsFlightExceptionURL + 'PaxWtException.aspx?' +
>> 'FlightId=' + flightId;
>> var paramsObject = window.showModalDialog (settingsString, "",
>> "edge:sunken;help:no;unadorned:yes; status:no; dialogWidth:400px;
>> dialogHeight:500px; dialogTop:150px; dialogLeft:300px;");
>> parent.frames["statusBar"].location = disableStatusBar;
>>
>> //Refresh the parent page to use the updated values in the calculation.
>>
>> parent.frames["detail"].location = ewbsWebUIURL + "WBFlightResult.aspx"
>> +
>> "?flightId=" + flightId;
>> }//end of function PaxWtException()
>>
>> <%@ Page language="c#" Codebehind="PaxWtException.aspx.cs"
>> AutoEventWireup="false"
>> Inherits="American.Eagle.EWBS.Web.UI.WeightAndBala nceException.PaxWtException"
>> %>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
>> <HTML>
>> <HEAD>
>> <title>Passenger Exceptions</title>
>> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
>> <meta content="C#" name="CODE_LANGUAGE">
>> <meta content="JavaScript" name="vs_defaultClientScript">
>> <meta content="http://schemas.microsoft.com/intellisense/ie5"
>> name="vs_targetSchema">
>> <base target="_self">
>> <LINK href="../includes/ASPNETstyles.css" type="text/css"
>> rel="stylesheet">
>> <script language="Javascript" src="../js/User.js">
>> </script>
>> <script language="Javascript" src="../js/WeightAndBalanceException.js">
>> </script>
>> <!-- <body MS_POSITIONING="GridLayout"> -->
>> </HEAD>
>> <body text="#333366" vLink="#2a2c9d" aLink="#2a2c9d" link="#2a2c9d"
>> bgColor="#ffffff"
>> leftMargin="0" topMargin="0" onunload="Javascript:OnWindowClose();">
>> <form id="Form1" method="post" runat="server">
>> <table cellSpacing="0" cellPadding="0" width="355" border="0">
>> <!-- HEADER BEGINS -->
>> <tr>
>> <td width="15" background="../images/background-header-popup.gif"><IMG
>> height="40" alt="" src="../images/space.gif" width="15" border="0"></td>
>> <td width="340" background="../images/header-popup2.gif"><span
>> class="header18">Passenger
>> Exceptions</span></td>
>> </tr>
>> <tr>
>> <td></td>
>> <td bgColor="#cecece"></td>
>> </tr>
>> <tr>
>> <td></td>
>> <td vAlign="top">
>> <!-- Bounding Table Begins --><IMG height="10"
>> src="../images/space.gif" width="1"><br>
>> <!-- Status Table Begins -->
>> <table cellSpacing="0" cellPadding="0" width="325" border="0">
>> <tr>
>> <td bgColor="#000066" colSpan="7"><IMG height="1"
>> src="../images/space.gif" width="1"></td>
>> </tr>
>> <tr>
>> <td width="1" bgColor="#000066"><IMG height="30"
>> src="../images/space.gif" width="1"></td>
>> <td align="center"><span class="body11"><b>Gate:</b></span> <span
>> class="body18" id="ctrlGateNumber" runat="server">
>> </span>
>> </td>
>> <td width="1" bgColor="#000066"></td>
>> <td align="center"><span class="body11"><b>Tail:</b></span> <SPAN
>> class="body20" id="ctrlTailNumber" runat="server">
>> </SPAN>
>> </td>
>> <TD width="1" bgColor="#000066"></TD>
>> <TD align="center"><SPAN class="body11"><B>Depart:</B></SPAN> <SPAN
>> class="body18" id="ctrlDepartureTime" runat="server">
>> </SPAN>
>> </TD>
>> <TD width="1" bgColor="#000066"></TD>
>> </tr>
>> <tr>
>> <td bgColor="#000066" colSpan="7"><IMG height="1"
>> src="../images/space.gif" width="1"></td>
>> </tr>
>> </table>
>> <!-- Status Table Ends --><IMG height="8" src="../images/space.gif"
>> width="1"><br>
>> <!-- Status Line Begins --><span class="body11RED" id="ctrlMessage"
>> runat="server"><b></b></span>
>> <!-- Status Line Ends --><br>
>> <IMG height="8" src="../images/space.gif" width="1"><br>
>> <table cellSpacing="0" cellPadding="0" width="325" border="0">
>> <tr>
>> <td bgColor="#000066" colSpan="3"><IMG height="1"
>> src="../images/space.gif" width="1"></td>
>> </tr>
>> <tr>
>> <td width="1" bgColor="#000066"><IMG height="1"
>> src="../images/space.gif" width="1"></td>
>> <td vAlign="top">
>> <!-- Diagram Begins -->
>> <table cellSpacing="0" cellPadding="0" width="325" border="0">
>> <tr>
>> <td width="5"><IMG height="1" src="../images/space.gif"
>> width="4"></td>
>> <td><IMG id="imgEquipment" height="65" alt="" width="317"
>> border="0" runat="server"></td>
>> <td width="5"><IMG height="1" src="../images/space.gif"
>> width="4"></td>
>> </tr>
>> </table>
>> <!-- Diagram Ends --><IMG height="8" src="../images/space.gif"
>> width="3"><br>
>> <table cellSpacing="0" cellPadding="0" width="325" border="0">
>> <tr>
>> <td bgColor="#000066"><IMG height="20" src="../images/space.gif"
>> width="1"></td>
>> <td bgColor="#000066" colSpan="10"><span
>> class="body11WHITE"><b>PASSENGER EXCEPTIONS</b></span></td>
>> </tr>
>> <tr>
>> <td bgColor="#dfe5f5"><IMG height="20" src="../images/space.gif"
>> width="4"></td>
>> <td vAlign="bottom" width="20" bgColor="#dfe5f5"><span
>> class="body11"><b>Row</b></span></td>
>> <td bgColor="#dfe5f5"><IMG height="1" src="../images/space.gif"
>> width="5"></td>
>> <td vAlign="bottom" width="40" bgColor="#dfe5f5"><span
>> class="body11"><b>Seat</b></span></td>
>> <td bgColor="#dfe5f5"><IMG height="1" src="../images/space.gif"
>> width="5"></td>
>> <td width="125" bgColor="#dfe5f5"><span class="body11"><b>Wgt Per
>> Seat</b></span></td>
>> <td bgColor="#dfe5f5"><IMG height="1" src="../images/space.gif"
>> width="5"></td>
>> <td bgColor="#dfe5f5" colSpan="4"></td>
>> </tr>
>> <tr>
>> <td><IMG height="25" src="../images/space.gif" width="4"></td>
>> <td><asp:dropdownlist id="lstSeatRow" AutoPostBack="True"
>> Runat="server" CssClass="body11"></asp:dropdownlist></td>
>> <td></td>
>> <td><asp:dropdownlist id="lstSeatLetter" AutoPostBack="True"
>> Runat="server" CssClass="body11"></asp:dropdownlist></td>
>> <td></td>
>> <td><input class="input11popup" id="txtWgt" disabled
>> onkeypress="return EnsurePositiveNumeric();"
>> type="text" maxLength="3" size="3" name="txtWgt" runat="server">
>> </td>
>> <td></td>
>> <td></td>
>> </tr>
>> <tr>
>> <td bgColor="#cecece" colSpan="11"></td>
>> </tr>
>> <tr>
>> <td><IMG height="30" src="../images/space.gif" width="1"></td>
>> <td colSpan="4"><!-- dk 04/22 Remove cancel button <input
>> name="Submit" type="submit" class="button" value="Cancel"> --></td>
>> <td align="right" colSpan="5"><input class="button"
>> id="btnDelete" type="button" value="Delete" name="Submit" runat="server"
>> disabled onclick="JavascriptaxWtExceptionExecute(2);"><IM G
>> height="1" src="../images/space.gif" width="5">
>> <input class="button" id="btnAddUpdate" type="button"
>> value="Add/Update" name="Submit"
>> runat="server" disabled
>> onclick="JavascriptaxWtExceptionExecute(1);"></td>
>> <td></td>
>> </tr>
>> <tr>
>> <td bgColor="#cecece" colSpan="11"></td>
>> </tr>
>> <tr>
>> <td style="HEIGHT: 10px" colSpan="11"><IMG height="10"
>> src="../images/space.gif" width="1"></td>
>> </tr>
>> <tr>
>> <td></td>
>> <td colSpan="9"><span
>> class="body11DARKBLUE"><b>Detail</b></span></td>
>> <td></td>
>> </tr>
>> <tr>
>> <td bgColor="#000066" colSpan="11"></td>
>> </tr>
>> <!-- Data List Row -->
>> <tr>
>> <td></td>
>> <td colSpan="9">
>> <table cellSpacing="0" cellPadding="0" border="0">
>> <TBODY>
>> <tr>
>> <td><asp:datalist id="dListPaxException" runat="server"
>> ShowHeader="true" RepeatLayout="Table" RepeatDirection="Vertical"
>> RepeatColumns="1" GridLines="Horizontal" CellPadding="2"
>> CellSpacing="0" SelectedItemStyle-BackColor="LemonChiffon"
>> Width="100%">
>> <HeaderTemplate>
>> <tr valign="bottom" class="body11" bgcolor="#dfe5f5">
>> <th bgcolor="#dfe5f5">
>> <img src="../images/space.gif" width="4" height="20"></th>
>> <th bgcolor="#dfe5f5" width="20" valign="bottom">
>> <span class="body11"><b>Row</b></span></th>
>> <th bgcolor="#dfe5f5">
>> <img src="../images/space.gif" width="5" height="1"></th>
>> <th bgcolor="#dfe5f5" width="30" valign="bottom">
>> <span class="body11"><b>Seat</b></span></th>
>> <th bgcolor="#dfe5f5">
>> <img src="../images/space.gif" width="5" height="1"></th>
>> <th bgcolor="#dfe5f5" width="50">
>> <span class="body11"><b>Wgt Per Seat</b></span></th>
>> <th bgcolor="#dfe5f5">
>> <img src="../images/space.gif" width="5" height="1"></th>
>> <th colspan="4" bgcolor="#dfe5f5">
>> </th>
>> </tr>
>> </HeaderTemplate>
>> <ItemTemplate>
>> <tr align="left" valign="bottom" runat="server" id="Tr1"
>> class="body11">
>> <td><img src="../images/space.gif" width="20"
>> height="1"></td>
>> <td class="body11" valign="bottom"><%#
>> DataBinder.Eval(Container.DataItem, "Row") %> </td>
>> <td><img src="../images/space.gif" width="50"
>> height="1"></td>
>> <td class="body11" valign="bottom"><%#
>> DataBinder.Eval(Container.DataItem, "Seat") %> </td>
>> <td><img src="../images/space.gif" width="60"
>> height="1"></td>
>> <td class="body11" valign="bottom"><%#
>> DataBinder.Eval(Container.DataItem, "Weight") %> </td>
>> <td><img src="../images/space.gif" width="5"
>> height="1"></td>
>> <td colspan="4"></td>
>> </tr>
>> </ItemTemplate>
>> </asp:datalist></td>
>> </tr>
>> </TBODY>
>> </table>
>> </td>
>> <td></td>
>> </tr>
>> <!-- Data List Row --></table>
>> </td>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Optimising pages for 640x480 or 800x600 =?Utf-8?B?Q2hyaXMgUG9kbW9yZQ==?= ASP .Net 7 12-10-2004 04:27 PM
SWING components adjustment in different resolutions - Should show scrollbars less than 800X600 and expand components over this resolution Bluetears76 Java 1 07-01-2004 09:01 PM
Re: design size.....800x600 1024x768 ? viza HTML 0 08-06-2003 08:30 AM
Re: design size.....800x600 1024x768 ? Adrienne HTML 0 08-06-2003 05:10 AM
800x600 Vincent V ASP .Net 0 07-06-2003 12:59 AM



Advertisments