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

ThemableAttribute + Telerik.Windows.Data issues

5 Answers 40 Views
Telerik Minifier
This is a migrated thread and some comments may be shown as answers.
Mike Cousins
Top achievements
Rank 1
Mike Cousins asked on 19 Jul 2010, 08:14 PM
We have found two major issues in the minifier:

1. When you minify Telerik.Windows.Controls ThemableAttribute is not included in the resultant library so we cannot use the minified DLL In our project.

2. You can't minify Telerik.Windows.Data at all.  No choices are given in the tool and nothing exists in the library once minified.

5 Answers, 1 is accepted

Sort by
0
Mike Cousins
Top achievements
Rank 1
answered on 19 Jul 2010, 09:02 PM
There seems to be way too much coupling happening for this to be usable as we dig deeper.  Including a RadGridView seems to require PanelBar and TileView as well.

Also, minifying the themes does not work as well and this is a huge problem as the theme files are the largest of the DLLs.
0
Mike Cousins
Top achievements
Rank 1
answered on 19 Jul 2010, 09:09 PM
I now think that the theme has references to all of the different controls and as such is pulling them all back in after we have stripped them out.  This is completely useless then if you are using a theme as it requires you to use all of the native DLLs.
0
Miro Miroslavov
Telerik team
answered on 20 Jul 2010, 06:52 AM
Hi Mike Cousins,

Can you send us the MinifyInfo.txt file content. This way we will be able to check what you have selected and what was the result?
The "Telerik.Windows.Data" doesn't have any controls in it - that's why you can't choose anything - but if you upload for example RadGridView and the Data assembly, the second will be minified according to your selection from the Grid assembly.

Can you give us more information about the problem with the themes, so we will be able to investigate it and fix it if needed?

Can you please check this video screen cast - I am showing minifying RadGridView with Navigation, Data and Vista theme.
As you may see on the video - selecting the RadGridView doesn't require PanelBar or TileView - The Navigation assembly is empty. Also the Vista theme is reduced from 2.6MB to less than 400KB. The Data assembly was reduced less, but this is because the Grid is using it almost entirely.
Can you please give the minifier a new try, or give us more information about the problems you have?
Thank you for your valuable feedback.

Greetings,
Miro Miroslavov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Mike Cousins
Top achievements
Rank 1
answered on 20 Jul 2010, 05:01 PM
Whoops.  I didn't realize that the file dialog was multiple select.  I was trying to minify each assembly individually!  It seems to be working fine now that I have that sorted.
0
Miro Miroslavov
Telerik team
answered on 21 Jul 2010, 07:46 AM
Hi Mike Cousins,

Hope everything is working fine now. Your further questions and comments are more than welcome.

Kind regards,
Miro Miroslavov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Telerik Minifier
Asked by
Mike Cousins
Top achievements
Rank 1
Answers by
Mike Cousins
Top achievements
Rank 1
Miro Miroslavov
Telerik team
Share this question
or