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

Custom dialog buttons missing

2 Answers 96 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Eric Chen
Top achievements
Rank 1
Eric Chen asked on 18 Sep 2008, 09:28 PM
Hi,

I am using Rad editor with custom ImageManager dialog and Default2006 skin.
Insert and Cancel buttons do not appear on the Image manager dialog. Style of the buttons is not set correctly. If I point mouse over the place for Insert button  "Insert" tool tip shows up. Also if I click to that place selected image is inserted.

Thanks,
Kate



2 Answers, 1 is accepted

Sort by
0
Tervel
Telerik team
answered on 23 Sep 2008, 08:01 AM
Hi Eric,

It seems that the most likely reason for the problem is the CSS optimizations that were made in the Q2 SP1 of editor dialogs. Among other things, the RadFormDecorator control was added to style buttons, checkboxes, radiaobuttons and textareas. Furthermore, the CSS for the dialogs was reduced from average of 3300 lines to just 300 (that is, tenfold).

If you modelled your custom dialog after an existing RadEditor dialog, and then you upgraded to a newer editor version, the missing CSS is not there to style your buttons.

Perhaps the easiest way to have styling appear is to change your buttons from being A elements to being <input type="button"> or <button> elements. If my assumptions have been correct, once you change the tagnames, then the RadFormDecorator  will take care of the button styling.


Sincerely yours,
Tervel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Eric Chen
Top achievements
Rank 1
answered on 23 Sep 2008, 06:35 PM
Thank you. That was helpful. We were able to fix our issue.
Tags
Editor
Asked by
Eric Chen
Top achievements
Rank 1
Answers by
Tervel
Telerik team
Eric Chen
Top achievements
Rank 1
Share this question
or