27 Mar 2009, 11:47 AM
|
aravind_2703
Joined on 03-27-2009
Posts 6
|
Re: Right click menu not topmost
|
|
|
|
This is one of our test page
has a some controls in htmltable, updatepanels, etc
<% @ Page Language="C#" Theme="DYNATheme" AutoEventWireup="true" CodeFile="AdminHome.aspx.cs" Inherits="Admin_AdminHome" %> <% @ Register Assembly="UltimateSpell" Namespace="Karamasoft.WebControls.UltimateSpell" TagPrefix="kswc" %> <% @ Register Src="Header.ascx" TagName="Header" TagPrefix="uc2" %> <% @ Register Assembly="KYNOUControls" Namespace="KYNOUControls" TagPrefix="cc1" %> <% @ Register Src="Header.ascx" TagName="Header" TagPrefix="uc1" %> <% @ OutputCache Location="None" VaryByParam="None" %> <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> < html xmlns="http://www.w3.org/1999/xhtml" > < head runat="server"> <title>Admin Home Page :: Dyna Systems</title> <style type="text/css"> div { z-index: 9999; } .DataGridFixedHeader {background-color: white; position:relative; top:expression(this.offsetParent.scrollTop-2);} </ style> </ head> < body onload ="window.status='Home Page :: Dynasystems'"> <form id="form1" runat="server"> <div> <uc2:Header ID="Header1" runat="server" /> <br /> <br /> <br /> <br /> <table border="0" bordercolor="buttonface" style="z-index: 108; left: 8px; width: 220px; position: static; top: 93px; height: 56px" cellpadding="1" cellspacing="0" id="TABLE1" onclick="return TABLE1_onclick()"> <tr> <td background="../images/Left.gif" colspan="1" rowspan="1" style="width: 3px; height: 10px"> </td> <td background="../images/HeaderBg.gif" colspan="7" style="height: 10px"> <strong><font color="whitesmoke">Quick - Contact Look Up</font></strong></td> <td background="../images/HeaderRight.gif" colspan="1" height="25" rowspan="50" style="width: 3px"> </td> </tr> <tr> <td background="../images/HeaderLeft.gif" colspan="1" height="25" rowspan="50" style="width: 3px"> </td> <td style="width: 177px"> <asp:Label ID="Label1" runat="server" Text="First Name:" Width="150px"></asp:Label></td> <td style="width: 123px"> <asp:Label ID="Label2" runat="server" Text="Last Name:" Width="150px"></asp:Label></td> <td style="width: 177px"> <asp:Label ID="Label5" runat="server" Text="Company Name:" Width="150px"></asp:Label></td> </tr> <tr> <td style="width: 177px; height: 8px"> <asp:TextBox ID="TextBoxFirstName" runat="server" OnTextChanged="TextBoxFirstName_TextChanged" Width="200px"></asp:TextBox></td> <td style="width: 123px; height: 8px"> <asp:TextBox ID="TextBoxLastName" runat="server" OnTextChanged="TextBoxLastName_TextChanged" Width="200px"></asp:TextBox></td> <td style="width: 177px; height: 8px"> <asp:TextBox ID="TextBoxCustomer" runat="server" OnTextChanged="TextBoxFirstName_TextChanged" Width="200px"></asp:TextBox></td> </tr> <tr> <td background="../images/lineFooterBg.gif" colspan="7" style="height: 2px"> </td> </tr> </table> <kswc:UltimateSpell ID="UltimateSpell1" runat="server" AutoCorrect="True" ShowSpellButton="False" SpellAsYouType="True"> <MisspelledWordStyle Font-Bold="True" ForeColor="#FF0000" /> <SpellButton ButtonType="Button" CausesValidation="True" ImageAlign="AbsMiddle" ImageUrl="" Text="Spell Check" /> </kswc:UltimateSpell> <asp:ImageButton ID="ImageButtonSearchContacts" runat="server" ImageUrl="~/images/SearchContacts.gif" OnClick="ImageButtonSearchContacts_Click" Style="z-index: 100; left: 642px; position: absolute; top: 114px" TabIndex="4" /> <br /> <asp:Calendar ID="CalendarEvents" runat="server" BackColor="White" BorderColor="#3366CC" BorderWidth="1px" Caption="Dyna Events Calendar" CellPadding="1" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" ForeColor="#003399" Height="276px" OnDayRender="CalendarEvents_DayRender" OnSelectionChanged="CalendarEvents_SelectionChanged" Style="z-index: 101; left: 5px; position: absolute; top: 188px" Width="376px" CaptionAlign="Right" NextPrevFormat="ShortMonth"> <SelectedDayStyle BackColor="#E0E0E0" Font-Bold="True" ForeColor="#404040" /> <TodayDayStyle BackColor="Gold" ForeColor="White" /> <SelectorStyle BackColor="#99CCCC" ForeColor="#336666" /> <WeekendDayStyle BackColor="AliceBlue" /> <OtherMonthDayStyle ForeColor="#999999" /> <NextPrevStyle Font-Size="8pt" ForeColor="#CCCCFF" /> <DayHeaderStyle BackColor="Azure" ForeColor="#336666" Height="1px" /> <TitleStyle BackColor="SteelBlue" BorderColor="#3366CC" BorderWidth="1px" Font-Bold="True" Font-Size="10pt" ForeColor="White" Height="25px" /> </asp:Calendar> <asp:Button ID="ButtonGenerateDir" runat="server" OnClick="ButtonGenerateDir_Click" Text="Generate Dir" Visible="False" style="z-index: 102; left: 802px; position: absolute; top: 56px" Width="150px" /> <br /> <br /> <asp:Label ID="LabelEventStatus" runat="server" Font-Bold="True" Font-Size="Medium" ForeColor="Navy" Style="z-index: 103; left: 553px; position: absolute; top: 179px" Width="348px"></asp:Label> <br /> <br /> <br /> <br /> <asp:Image ID="Image1" runat="server" ImageUrl="~/images/dynlogo.png" Style="z-index: 104; left: 359px; position: absolute; top: 526px" /> <br /> <div id="gridDiv" style="z-index: 109; left: 388px; overflow: auto; width: 520px; position: absolute; top: 200px; height: 290px"> <asp:DataGrid ID="DataGridEvents" runat="server" AutoGenerateColumns="False" BorderColor="#404040" BorderStyle="Solid" BorderWidth="1px" CellPadding="2" ForeColor="#333333" GridLines="None" OnItemDataBound="DataGridEvents_ItemDataBound" > <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> <EditItemStyle BackColor="#2461BF" /> <SelectedItemStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" /> <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" /> <AlternatingItemStyle BackColor="White" /> <ItemStyle BackColor="#DEF4FF" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" /> <HeaderStyle BackColor="#507CD1" CssClass="ms-formlabel DataGridFixedHeader" Font-Bold="True" ForeColor="White" /> <Columns> <asp:BoundColumn DataField="StartTime" HeaderText="Start Time" DataFormatString="{0:hh:mm tt}" > <HeaderStyle Width="100px" /> </asp:BoundColumn> <asp:BoundColumn DataField="EndTime" HeaderText="End Time" DataFormatString="{0:hh:mm tt}" > <HeaderStyle Width="100px" /> </asp:BoundColumn> <asp:BoundColumn DataField="$130" HeaderText="Duration" > <HeaderStyle Width="100px" /> </asp:BoundColumn> <asp:BoundColumn DataField="$124" HeaderText="Details" > <HeaderStyle Width="200px" /> </asp:BoundColumn> </Columns> </asp:DataGrid> </div> <br /> <br /> </div> <table border="0" bordercolor="buttonface" style="z-index: 108; left: 6px; width: 220px; position: absolute; top: 508px; height: 40px"> <tr> <td> <asp:Label ID="Label4" runat="server" Text="Name:" Width="75px"></asp:Label></td> <td style="width: 263px; height: 21px"> <asp:TextBox ID="TextBoxName" runat="server" MaxLength="40" Width="250px"></asp:TextBox></td> </tr> <tr> <td valign=top style="width: 58px; height: 21px"> <asp:Label ID="Label3" runat="server" Text="Comments :" Width="75px"></asp:Label></td> <td style="width: 263px; height: 21px"> <asp:TextBox ID="TextBoxComments" runat="server" Rows="5" TextMode="MultiLine" Width="250px"></asp:TextBox> </td> </tr> <tr> <td style="width: 58px; height: 21px"> </td> <td style="width: 263px; height: 21px"> <asp:Label ID="LabelStatus" runat="server" Width="255px" ForeColor="Blue"></asp:Label> </td> </tr> <tr> <td> </td> <td style="width: 263px"> <asp:ImageButton ID="ImageButtonAddComment" runat="server" ImageUrl="~/images/AddComment.gif" OnClick="ImageButtonAddComment_Click" /><br /> </td> </tr> </table> <asp:LinkButton ID="LinkButtonToday" runat="server" Font-Bold="True" ForeColor="Red" OnClick="LinkButtonToday_Click" Style="z-index: 106; left: 7px; position: absolute; top: 184px" Width="220px">Today's Events</asp:LinkButton> <div id="Div1" style="z-index: 109; left: 912px; overflow: auto; width: 362px; position: absolute; top: 200px; height: 276px"> <asp:DataGrid ID="GridViewProjects" runat="server" AutoGenerateColumns="False" BorderColor="#404040" BorderStyle="Solid" BorderWidth="1px" CellPadding="2" ForeColor="#333333" GridLines="None"> <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> <EditItemStyle BackColor="#2461BF" /> <SelectedItemStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" /> <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" /> <AlternatingItemStyle BackColor="White" /> <ItemStyle BackColor="#DEF4FF" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" /> <HeaderStyle BackColor="#507CD1" CssClass="ms-formlabel DataGridFixedHeader" Font-Bold="True" ForeColor="White" /> <Columns> <asp:TemplateColumn HeaderText="Job Number" SortExpression="JobNumber"> <ItemTemplate> <asp:HyperLink ID="Hyperlink1" runat="server" NAME="Hyperlink1" NavigateUrl='<%# "JobView.aspx?ProjectID=" + DataBinder.Eval(Container.DataItem,"projectid")%>' Target="_blank" Text='<%# DataBinder.Eval(Container.DataItem,"JobNumber") %>'></asp:HyperLink> </ItemTemplate> </asp:TemplateColumn> <asp:TemplateColumn HeaderText="Project Name" SortExpression="ProjectName"> <ItemTemplate> <asp:HyperLink ID="Hyperlink1" runat="server" NAME="Hyperlink1" NavigateUrl='<%# "SalesviewProject.aspx?id=" + DataBinder.Eval(Container.DataItem,"projectid") %>' Target="_self" Text='<%# DataBinder.Eval(Container.DataItem,"ProjectName") %>'></asp:HyperLink> </ItemTemplate> </asp:TemplateColumn> </Columns> </asp:DataGrid></div> </form> </ body> </ html>
|
|
|
|
|
|
|
|
|