Minifier minify too much ?

Thread is closed for posting
7 posts, 0 answers
  1. Marc Roussel
    Marc Roussel avatar
    429 posts
    Member since:
    Dec 2009

    Posted 10 Dec 2010 Link to this post

    I did use the Minifier and here's the result when I start the application :

    Could not load type 'Telerik.Windows.Controls.GridViewComboBoxColumn' from assembly 'Telerik.Windows.Controls.GridView, Version=2010.2.924.1040, Culture=neutral, PublicKeyToken=5803cfa389c90ce7'.
       at etc..

    This GridViewComboBoxColumn is used dinamycally by C# code so I think you just minify the xaml
    If so how do we go from there ?
  2. Marc Roussel
    Marc Roussel avatar
    429 posts
    Member since:
    Dec 2009

    Posted 10 Dec 2010 Link to this post

    Also another thing I'm not sure about but seems relevant is the fact that in the application I'm using just the RadButton, RadMaskedTextBox and the RadGridView and seems that in Telerik.Windows.Controls there's way more controls however it just minified 400k so I went from 1.8 megs to 1.4 megs xap
  3. DevCraft banner
  4. Miro Miroslavov
    Admin
    Miro Miroslavov avatar
    588 posts

    Posted 15 Dec 2010 Link to this post

    Hi Marc Roussel,

     The GridView is pretty huge control, that uses a lot of other controls internally and that's why the size of the Controls is not reduced a lot. 
    What you mean by dynamically using a Column? Do you use them with reflection, or just create columns with C# code and add them to the GridView columns?

    Best wishes,
    Miro Miroslavov
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  5. Marc Roussel
    Marc Roussel avatar
    429 posts
    Member since:
    Dec 2009

    Posted 15 Dec 2010 Link to this post

    I do create it by C# code and add it to the grid

    By teh way

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
    Timestamp: Wed, 15 Dec 2010 14:14:19 UTC

    Message: Syntax error
    Line: 1
    Char: 1
    Code: 0
    URI: http://connect.facebook.net/en_US/all.js

     when I did click the link from my email : Click here to post a reply or unsubscribe from this thread.

  6. Miro Miroslavov
    Admin
    Miro Miroslavov avatar
    588 posts

    Posted 21 Dec 2010 Link to this post

    Hi Marc Roussel,

     Your scenario should work and the minifier examines both the XAML and C#, so basically it must get that dependency. This is a bug in the minifier that will be fixed soon.
    Till then you could still use the Assembly Minifier option and manually select the controls you are using.
    Sorry for any inconvenience.

    Regards,
    Miro Miroslavov
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  7. Marc Roussel
    Marc Roussel avatar
    429 posts
    Member since:
    Dec 2009

    Posted 21 Dec 2010 Link to this post

    Oh I see, thank you for the info

    By the way again, the REMEMBER MY LOGIN seems broken because even thought I never logout and I check REMEMBER ME, each day or 2 I have to re-enter my login information.
  8. Atanas
    Admin
    Atanas avatar
    22 posts

    Posted 21 Dec 2010 Link to this post

    Hello Marc Roussel,

    Thank you for your feedback regarding Remember me feature!

    We tried to reproduce this issue but everything seems to work fine on our side.

    In order to reproduce it could you please tell us what browser and browser version do you use? Does it happen under different browsers if you use more then one? For how long do you experience this issue?

    I'm looking forward to hearing from you!

    Kind regards,
    Atanas
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
Back to Top
DevCraft banner