This is a migrated thread and some comments may be shown as answers.

RadSpell Position top

3 Answers 66 Views
Spell
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 15 Aug 2008, 06:13 PM
Hey all,

I used portions of the following example in the documentation (http://www.telerik.com/community/forums/new-forum-post/b314Z-cgb.aspx) to implement the radspell on my page.  The problem is that the button is located at the bottom of the page and when you clickthe button the position of the Spell Checker renders further down the page. What I want to do is position it towards the top of the page. Is there a simple way of doing this?
 
I have a button :
<input id="btnSpellCheck" type="button" value="Spell Check" onclick="spellCheck();"/>

Javascript:
function spellCheck()
{
var spell = GetRadSpell('<%= RadSpellCheck.ClientID %>');
spell.startSpellCheck();
}

The reason i used the following code up above instead of putting the RadSpell buttontype="pushbutton" is because i wanted the button to be skinned with the Web20 look.

3 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 20 Aug 2008, 06:55 AM
Hi Mike,

Thank you for the provided information, but unfortunately I am not quite sure what your exact scenario is (the provided link is referring the forums - the New Forum Post page).

Could you please open a support ticket and send us a sample runnable project where the behavior can be observed, along with the exact steps to reproduce it? We will examine the issue locally and do our best to provide a solution.

Kind regards,
George
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Mike
Top achievements
Rank 1
answered on 29 Aug 2008, 03:47 PM
I created support ticket: 158947
0
Rumen
Telerik team
answered on 01 Sep 2008, 02:56 PM
Hi Mike,

I just replied to your support ticket on the subject. For your convenience I have pasted below my answer:


=========================================================

By default, the RadSpell's dialog is loaded centered on the page and you should not experience this problem. Are you running your page in quirksmode? Could you please, make sure that your page DOCTYPE is XHTML compliant, e.g.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

If this doctype does not solve the problem, can you please, send us a sample working project that demonstrates the bug? We will examine it and try to provide a solution after that.

Thank you for your cooperation.

=========================================================

All the best,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Spell
Asked by
Mike
Top achievements
Rank 1
Answers by
George
Telerik team
Mike
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or