Minified Size could be lower !

Thread is closed for posting
3 posts, 0 answers
  1. Lars Johansen
    Lars Johansen avatar
    31 posts
    Member since:
    Oct 2009

    Posted 30 Jun 2010 Link to this post

    Hi,

    In a project I am only using a RadButton with a Vista Theme.

    The Telerik.Windows.Controls.dll went from 1030KB to 256KB
    And the Theme went from 2606KB to 216KB

    This is great - but it could be better.

    Net.Reflector shows alot of reference to controls not selected in the first place.

    The resource for themes/vista/book.xaml went from 6441bytes to 1644bytes
    The resource for themes/vista/tabcontrol.xaml went from 40095 bytes to 1939 bytes
    ect...
    But do we really need it. (Atleast remove comments in code...)

    For the RadButton inside Telerik.Windows.Controls.dll we also have alot of resource elements not needed for the selected control.
    (The original theme/office/black)
     
    Yes I known it is beta - and there is room for optimization - but I think this is an excellent step in the right direction.

    Keep up the good work
    /Lars


  2. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 30 Jun 2010 Link to this post

    For the RadButton inside Telerik.Windows.Controls.dll we also have alot of resource elements not needed for the selected control.
    (The original theme/office/black)

    Lars, I *Think* some these needs to be there for default during design time for Blend. I might be wrong, but that's what I suspect!
    ..Ben
  3. DevCraft banner
  4. Miro Miroslavov
    Admin
    Miro Miroslavov avatar
    588 posts

    Posted 30 Jun 2010 Link to this post

    Hello ..Ben and Lars,


    Net.Reflector shows alot of reference to controls not selected in the first place.
    You are right, but some controls are not perfectly decoupled one from another. The good thing is that having the Minifier on the stage, we will have to write/decouple our controls even more and the suite will become better after all.

    But do we really need it. (Atleast remove comments in code...)
    I've created work item for removing the comments as well. We've also noticed that and will fix it.

    For the RadButton inside Telerik.Windows.Controls.dll we also have alot of resource elements not needed for the selected control.
    (The original theme/office/black)

    You are right, it will be better if we remove the entire ResourceDictionaries, but for now leaving them empty is a bit easier.

    Thank you for your feedback! We appreciate that.

    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
Back to Top