is it possible to specify the position of the spell check dialog?

2 posts, 0 answers
  1. Lion
    Lion avatar
    23 posts
    Member since:
    Jan 2010

    Posted 19 Feb 2010 Link to this post

    I am just writing to see if it is possible to specify the original position of the spell check dialog. We have spellchecker in an iframe which is causing an unnecessary scrolling when popup is launched(I guess popup is set up to position itself in the center by default)? We are thinking that if we can specify the absolute position, scrolling will not happen.
    Thank you for your help!
  2. Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 23 Feb 2010 Link to this post

    Hello Kate,

    It is possible to move the RadSpell's dialog once it is shown. For this purpose you could use the OnClientLoad event handler:

    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    <telerik:RadSpell ID="RadSpell1" IsClientID="true" ControlsToCheck="textbox1" OnClientLoad="OnClientLoad"
        runat="server" />
    <input type="text" id="textbox1" />
    <script type="text/javascript">
        function OnClientLoad(spell)
            var wnd = spell.get_dialogOpener()._getDialogContainer("SpellCheckDialog");
                    wnd.moveTo(50, 50)
                }, 0);

    Sincerely yours,
    Georgi Tunev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top