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

Exclude a div from decoration

6 Answers 121 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
S
Top achievements
Rank 1
S asked on 13 May 2008, 05:16 PM
We have a case where we want to decorate the entire app.  However, the FormDecorator wrecks havoc on other third party controls.  Could a feature be added that allows you to exclude a control or cssclass from decoration?  I'm thinking something along the lines of wrapping our third party controls in a div with a style="NoDecorate".

Any workaround?  It seems at the moment that the only way to do this would be to wrap all the controls in divs and use the DecorationZoneId - but that would be ALOT of divs and ALOT of Form Decorators!

Thanks,
S

6 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 14 May 2008, 12:43 PM
Hello S,

I tried to reproduce the problem locally with the code that you provided but to no avail - everything worked as expected and the tooltip's size is not changed.

Please open a support ticket and send us a small sample project where this problem can be reproduced. Just make sure that the project can be run and attach it to the ticket - we will check it right away and do our best to help.



Kind regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Georgi Tunev
Telerik team
answered on 14 May 2008, 12:52 PM

My previous reply was intended for this forum post -  I apologize for the mistake.

Regarding the problem that you experience, currently there is no such property that would allow you to specify "non-decoration" areas, but if you send us your project or a sample one which represents your exact setup, we will try to find a workaround specific for your case.

Once again I apologize for the wrong reply.




Kind regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
S
Top achievements
Rank 1
answered on 14 May 2008, 02:37 PM
I can't really send a sample project, but here is our situation:

We have a very large web project (143 ASCX files, a few million lines of code).  When we took a shot at using the FormDecorator - it worked great - except for a few third party controls.   

It appears that without the ability to exclude a div, we would have to go to all 143 ASCX files and wrap everything that isn't this certain kind of 3rd party control in a div.  That just isn't practical.

Any suggestions on a workaround are welcome, but I think the product itself needs a better way to specify what gets decorated and what doesn't.
0
Martin
Telerik team
answered on 19 May 2008, 07:09 AM
Hello Sarah,

Unfortunately we were not able to think of solution on your issue. RadFormDecorator is still in development, and we have considered to add na exclude zone property, as this issue has been reported several times.

Please, excuse us for the inconvenience.

Sincerely yours,
Martin Ivanov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Michael Hennessy
Top achievements
Rank 1
answered on 28 Aug 2008, 08:45 PM
Hi, I have downloaded the latest 8.26 version of the controls and I don't see a way to exclude certain zones from being decorated.  In my case I want to show checkboxes in a radComboBox control, but the decorator located on a global level causes javascript errors.  So I wanted to exclude the zone with the radComboBox from decoration.  Is there a solution?

Thank you
Filipp
0
Georgi Tunev
Telerik team
answered on 29 Aug 2008, 06:59 AM
Hello Filipp,

There is still no such option but I believe that the problem that you currently experience can be fixed - please check the following thread for more details:
http://www.telerik.com/community/forums/thread/b311D-bkmdkh.aspx

If the problem persists, please open a support ticket and send us a reproduction project - we will check it and do our best to help.



Best wishes,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
FormDecorator
Asked by
S
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
S
Top achievements
Rank 1
Martin
Telerik team
Michael Hennessy
Top achievements
Rank 1
Share this question
or