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

Submit and Cancel Buttons

4 Answers 171 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Rob asked on 05 Dec 2007, 02:35 PM
Hi,

In the old ASP.NET RadEditor there was a property for showing or hiding the submit and cancel buttons, but I cannot see an equivalent property on the Prometheus RadEditor. Am I simply looking in the wrong places or is this not available?

If its the latter, is there a particular reason that this is not implemented on the Prometheus RadEditor? I know from reading otehr threads on the forums that we can create standard ASP.NET buttons, or add custom buttons into the toolbar but this seems excessive to have to code and style separately for what I would believe is quite a core feature for a lot of users of the Prometheus products.

Can you confirm whether this is actually available and just hidden, or whether this could be added in the future?

Regards

Rob

4 Answers, 1 is accepted

Sort by
0
Tervel
Telerik team
answered on 07 Dec 2007, 03:14 PM
Hi Rob,

The RadEditor Prometheus was intended to be as simple to configure as possible - and we decided to follow the familiar pattern of TextBox as this is in fact how the editor is used in almost all cases. The development paradigm is that the editor is  a part of a larger page that has some other means of making a postback or a callback - and the editor should not intefere in it. Thus, the Submit and Cancel buttons were removed.

You can easily implement a custom Save button in the editor (even simpler than usual, as there is  CSS in the editor that will style a tool called Save for you automatically). In case you wish to go this way and want to have a Save tool on the toolbar that will submit the page and you need our help with it - please let us know and we will help you out.

Other than that, at present we do not intend to re-implement the Submit and Cancel buttons into the Prometheus editor.

Sincerely yours,
Tervel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Shaun Peet
Top achievements
Rank 2
answered on 07 Dec 2007, 09:47 PM
Have to say that I agree with Telerik on this one.  I can't think of a single time where I used the submit / cancel buttons on the old version of the editor.
0
Paul Haines
Top achievements
Rank 1
answered on 09 Jan 2009, 11:37 AM
We used these buttons when the RadEditor is contained within RadGrid, as users wanted the "submit" and "cancel" features underneath the text area - this option provided an out-of-the-box solution.

As such, we're having to implement them within a new CompositeControl, which is taking time to do and to ensure the necessary settings are working correctly.
0
Jeff
Top achievements
Rank 1
answered on 10 Jan 2009, 04:51 PM
Shaun,

i don't understand how someone would "Not" want a save and cancel / clear button on the editor out of the box - i have spent a ton of time trying to get this right... the save in external file demo online does not function properly - meaning i choose another files and save as external file - it does not save to the current file and it appends the test.html to the bottom of the newly selected file from the template manager - it would seem there would be a complete solution for save to file - where a user could select the file from the template manager view path, save it via a button on the tool bar(not an external button) and clear the rad editor button and then select in a new file to work on - i'm really scratching my head on how this should work - seems I have made it way more confusing than it has to be - or am missing something major here.

Jeff
Tags
Editor
Asked by
Rob
Top achievements
Rank 1
Answers by
Tervel
Telerik team
Shaun Peet
Top achievements
Rank 2
Paul Haines
Top achievements
Rank 1
Jeff
Top achievements
Rank 1
Share this question
or