Welcome Guest Search | Active Topics | Sign In | Register

Text properties in spellchecker not work Options
Philipp Jenni
Posted: Monday, August 4, 2008 11:23:15 AM
Rank: Advanced Member
Groups: Member

Joined: 6/9/2007
Posts: 98
Hi,

i want change the *text properties in the spellchecker dialog, but it doesn't work.

Here is my simple testpage:

I have changed the IgnoreOnceMenuItemText and the AddCustomMenuItemText properties

Code: HTML/ASPX
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="eoTest.aspx.cs" Inherits="eoTest" %>
<%@ Register Assembly="EO.Web" Namespace="EO.Web" TagPrefix="eo" %>
<!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>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
  
    <asp:Button ID="Button1" runat="server" Text="Button" />
    <br />
    <eo:SpellChecker ID="SpellChecker1" runat="server" 
        AddCustomMenuItemText="Zum X" ControlToCheck="Textbox1" 
        DialogID="SpellCheckerDialog1" IgnoreOnceMenuItemText="Alle Ignorieren" 
        StartButton="Button1">
    </eo:SpellChecker>
    <br />
    <asp:TextBox ID="TextBox1" runat="server" Height="127px" TextMode="MultiLine" 
        Width="836px"></asp:TextBox>
    <eo:SpellCheckerDialog ID="SpellCheckerDialog1" runat="server" 
        BackColor="#ECE9D8" CloseButtonUrl="00070301" ControlSkinID="None" 
        HeaderHtml="Dialog Title" Height="216px" Width="320px">
        <HeaderStyleActive CssText="padding-right: 3px; padding-left: 8px; font-weight: bold; font-size: 10pt; background-image: url(00020113); padding-bottom: 3px; color: white; padding-top: 0px; font-family: 'trebuchet ms';" />
        <BorderImages BottomBorder="00020112" BottomLeftCorner="00020107" 
            BottomRightCorner="00020108" LeftBorder="00020110" RightBorder="00020111" 
            TopBorder="00020109" TopLeftCorner="00020101" TopLeftCornerBottom="00020103" 
            TopLeftCornerRight="00020102" TopRightCorner="00020104" 
            TopRightCornerBottom="00020106" TopRightCornerLeft="00020105" />
        <FooterStyleActive CssText="padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma" />
        <ContentStyleActive CssText="padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma" />
    </eo:SpellCheckerDialog>
    <br />
  
    </form>
</body>
</html>


Code: C#
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

public partial class eoTest : System.Web.UI.Page
{
    
}


Thanks Philipp
eo_support
Posted: Monday, August 4, 2008 8:01:19 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
Hi,

Those properties work with ContextMenu (that's why they are called *MenuItemText). To customize text in a SpellCheckerDialog, you would use just customize the dialog. Please see the spell checker documentations for details.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.