or
Another thing: I would like to know how to customize some dialogs:
Thanks for helping and best regards
Falk


<a title='Spell Check' href="javascript:spellCheckMe('JobDescriptionEdit');" class="spell_Ext spLinkImg">Spell Check </a>
In Safari & FF, the dialog is centered on the page. However in IE, the dialog tries to position from the firing button. Is there some client script that I can use so that IE centers the dialog? I didn't see it in the online help, but maybe it exists? If the button that is invoking the spell editor is close to the bottom of viewing area, the spell dialog isn't fully shown.
| protected void RadAjaxManager_AjaxRequest(object sender, AjaxRequestEventArgs e) |
| { |
| string argument = e.Argument; |
| string operation = GetOperation(argument); |
| string parameters = RemoveOperation(argument); |
| switch (operation) |
| { |
| case "0": |
| MoveMenuItemToMenu(parameters); |
| break; |
| } |
| private void MoveMenuItemToMenu(string argument) |
| { |
| string[] nodes = argument.Split('|'); |
| string sourceMiId = nodes[0]; |
| string destMeId = nodes[1]; |
| bool dbResult = MenuItemDAO.Create().MoveMenuItemToMenu(sourceMiId, destMeId); |
| RadAjaxManager.ResponseScripts.Add(string.Format("FinishMoveMenuItemToMenu({0})", dbResult.ToString().ToLower() )); |
| //System.Threading.Thread.Sleep(3000); |
| } |
| function MoveMenuItemToMenu(srcNode,dstNode) |
| { |
| var sourceNodeId = GetId(srcNode.get_value()); |
| var destNodeId = GetId(dstNode.get_value()); |
| tempSourceNode = srcNode; |
| tempDestNode = dstNode; |
| var arg = "0?" + sourceNodeId + "|" + destNodeId; |
| sendRequest(arg); |
| } |
| function sendRequest(params) |
| { |
| var ajaxMan = $find("RadAjaxManager"); |
| ajaxMan.ajaxRequest(params); |
| } |
| function FinishMoveMenuItemToMenu(success) |
| { |
| if (success) |
| { |
| tempSourceNode.get_parent().get_nodes().remove(tempSourceNode); |
| tempDestNode.get_nodes().add(tempSourceNode) |
| }else |
| alert('Operation in database did not occur'); |
| } |