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

Inverse button Cancel/Update

1 Answer 14 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Barelli
Top achievements
Rank 1
Barelli asked on 02 Sep 2008, 09:49 AM

Hi

I am using Raeditor 7.3.1 and I want to Inverse button Cancel/Update in the main frame of the Rad Editor.

The current order of the button in the main frame of Rad Editor is Cancel Update, I need to swap the order to Update Cancel  ( Microsoft Convention )

I have Search on Editor/Controls/ and Editor/Dialogs, but I have not found the Rad Editor Main controls

Have you a solution to swap the button



1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 02 Sep 2008, 03:51 PM
Hi Barelli,

Here is an example how to get a reference to the Update and Cancel buttons on the client:

<script language="javascript">
function OnClientLoad()
{
       var Cancel = document.getElementById("RadECancelButton<%=RadEditor1.ClientID%>");   
       var Update = document.getElementById("RadEUpdateButton<%=RadEditor1.ClientID%>");   
}
</script>
<radE:RadEditor Editable="true" id="RadEditor1" OnClientLoad="OnClientLoad" Runat="server"></radE:RadEditor>

Having a reference to both buttons, you can easily switch them programmatically using the DOM or CSS.

Best regards,
Rumen
the Telerik team

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