Home Search Member List Faq Register Login  
UltimateSpell
Right click menu not topmost

Thread Starter: aravind_2703   Started: 03-27-2009 9:42 AM   Replies: 10
 Karamasoft Support Forums » General Discussions » UltimateSpell » Right click menu not topmost
 Printable Version    « Previous Thread   Next Thread »
  27 Mar 2009, 9:42 AM
aravind_2703 is not online. Last active: 3/30/2009 4:16:46 PM aravind_2703

Top 10 Posts
Joined on 03-27-2009
Posts 6
Right click menu not topmost
Hi I just started using the control and immedietely had a problem with it.

when i textbox controls are within HTML Table the (rightclick) menu hides behind other controls.

please let me know whats happening.

Thanks

Aravind

  
  27 Mar 2009, 9:46 AM
Karamasoft is not online. Last active: 9/2/2010 12:02:18 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 5,325
Re: Right click menu not topmost
If you reply with your sample code, we can try to reproduce it in our test environment.
  
  27 Mar 2009, 11:47 AM
aravind_2703 is not online. Last active: 3/30/2009 4:16:46 PM aravind_2703

Top 10 Posts
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>

&nbsp;&nbsp;

<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>

&nbsp;<br />

<br />

&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;<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>&nbsp;

</div>

<br />

<br />

&nbsp; &nbsp;

</div>

&nbsp;&nbsp;

<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>&nbsp;

</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>

&nbsp;

<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>


  
  27 Mar 2009, 5:03 PM
Karamasoft is not online. Last active: 9/2/2010 12:02:18 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 5,325
Re: Right click menu not topmost
Your code can't be tested as is, it throws compile errors because of its references to other files. If you send us a self-contained web app, we can try it in our test environment.
  
  30 Mar 2009, 9:17 AM
aravind_2703 is not online. Last active: 3/30/2009 4:16:46 PM aravind_2703

Top 10 Posts
Joined on 03-27-2009
Posts 6
Re: Right click menu not topmost
here it is.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdminHome.aspx.cs" Inherits="Admin_AdminHome" EnableSessionState="True" %>

<%@ Register Assembly="UltimateSpell" Namespace="Karamasoft.WebControls.UltimateSpell"

TagPrefix="kswc" %>

<!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>:: NIMO :: Admin Home Page</title>

</head>

<body>

<form id="form1" runat="server">

<div>

&nbsp; &nbsp;&nbsp;

<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 style="width: 58px; height: 21px" valign="top">

<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>&nbsp;

</td>

</tr>

<tr>

<td style="width: 58px; height: 21px">

</td>

<td style="width: 263px; height: 21px">

<asp:Label ID="LabelStatus" runat="server" ForeColor="Blue" Width="255px"></asp:Label>

</td>

</tr>

<tr>

<td>

</td>

<td style="width: 263px">

<br />

&nbsp;</td>

</tr>

</table>

&nbsp;<kswc:UltimateSpell ID="UltimateSpell1" runat="server" AutoCorrect="True" ControlIdsToCheck=""

ShowSpellButton="False" SpellAsYouType="True">

<MisspelledWordStyle Font-Bold="True" ForeColor="Red" />

<SpellButton ButtonType="Button" CausesValidation="True" ImageAlign="AbsMiddle" ImageUrl=""

Text="Spell Check" />

</kswc:UltimateSpell>

</form>

</body>

</html>


  
  30 Mar 2009, 9:23 AM
aravind_2703 is not online. Last active: 3/30/2009 4:16:46 PM aravind_2703

Top 10 Posts
Joined on 03-27-2009
Posts 6
Re: Right click menu not topmost
The problem is - when the textboxes are within a html table.


  
  30 Mar 2009, 11:29 AM
Karamasoft is not online. Last active: 9/2/2010 12:02:18 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 5,325
Re: Right click menu not topmost
We tried your sample code in our UltimateSpellCS sample applicaton and it worked properly. You can do the same test to see if it works on your environment. Open the sample app under C:\Inetpub\wwwroot\Karamasoft\ASP.NET3.5\UltimateSpell\v3.3\Demos\CS directory and create a web page with your sample code in your previous post and run it. Are you using the latest version of UltimateSpell? Did you copy the UltimateSpell.dll and UltimateSpellInclude directory to the root of your web app?
  
  30 Mar 2009, 1:38 PM
aravind_2703 is not online. Last active: 3/30/2009 4:16:46 PM aravind_2703

Top 10 Posts
Joined on 03-27-2009
Posts 6
Re: Right click menu not topmost
Tried what you have suggested (added a page in the demo application and copied this following code and still the same result.

I do have latest libraries and placed directory on my root of application.


can you send me your code which you have tested (controls inside the html table)?

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="adminhome.aspx.cs" Inherits="adminhome" %>

<%@ Register Assembly="UltimateSpell" Namespace="Karamasoft.WebControls.UltimateSpell"

TagPrefix="kswc" %>

<!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 id="Head1" runat="server">

<title>:: NIMO :: Admin Home Page</title>

</head>

<body>

<form id="form1" runat="server">

<div>

&nbsp; &nbsp;&nbsp;

<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 style="width: 58px; height: 21px" valign="top">

<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>&nbsp;

</td>

</tr>

<tr>

<td style="width: 58px; height: 21px">

</td>

<td style="width: 263px; height: 21px">

<asp:Label ID="LabelStatus" runat="server" ForeColor="Blue" Width="255px"></asp:Label>

</td>

</tr>

<tr>

<td>

</td>

<td style="width: 263px">

<br />

&nbsp;</td>

</tr>

</table>

&nbsp;<kswc:UltimateSpell ID="UltimateSpell1" runat="server" AutoCorrect="True" ControlIdsToCheck=""

ShowSpellButton="False" SpellAsYouType="True">

<MisspelledWordStyle Font-Bold="True" ForeColor="Red" />

<SpellButton ButtonType="Button" CausesValidation="True" ImageAlign="AbsMiddle" ImageUrl=""

Text="Spell Check" />

</kswc:UltimateSpell>

 

</div>

</form>

</body>

</html>




  
  30 Mar 2009, 2:18 PM
Karamasoft is not online. Last active: 9/2/2010 12:02:18 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 5,325
Re: Right click menu not topmost
We will email you the sample file shortly.
  
  30 Mar 2009, 3:57 PM
aravind_2703 is not online. Last active: 3/30/2009 4:16:46 PM aravind_2703

Top 10 Posts
Joined on 03-27-2009
Posts 6
Re: Right click menu not topmost
Problem solved...when i remove this property from the table it all works great.

style="z-index: 108; "

let me know if this is something you can fix in future.

Thanks


  
  30 Mar 2009, 7:46 PM
Karamasoft is not online. Last active: 9/2/2010 12:02:18 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 5,325
Re: Right click menu not topmost
We were testing on IE8. We were able to reproduce the issue on IE7 and fixed it. We haven't published a new release yet but will send you the patch shortly.
  
 Page 1 of 1 (11 items)
Karamasoft Support Forums » General Discussions » UltimateSpell » Right click menu not topmost

You can add attachments
You can post new topics
You can reply to topics
You can delete your posts
You can edit your posts
You can create polls
You can vote in polls
Forum statistics are enabled
Forum is unmoderated

© 2002-2010 Karamasoft LLC. All rights reserved.