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

Minifier minify too much ?

6 Answers 47 Views
Telerik Minifier
This is a migrated thread and some comments may be shown as answers.
Marc Roussel
Top achievements
Rank 2
Marc Roussel asked on 10 Dec 2010, 01:37 PM
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 ?

6 Answers, 1 is accepted

Sort by
0
Marc Roussel
Top achievements
Rank 2
answered on 10 Dec 2010, 01:44 PM
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
0
Miro Miroslavov
Telerik team
answered on 15 Dec 2010, 03:11 PM
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
0
Marc Roussel
Top achievements
Rank 2
answered on 15 Dec 2010, 03:13 PM
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.

0
Miro Miroslavov
Telerik team
answered on 21 Dec 2010, 08:12 AM
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
0
Marc Roussel
Top achievements
Rank 2
answered on 21 Dec 2010, 11:55 AM
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.
0
Atanas
Telerik team
answered on 21 Dec 2010, 01:26 PM
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
Tags
Telerik Minifier
Asked by
Marc Roussel
Top achievements
Rank 2
Answers by
Marc Roussel
Top achievements
Rank 2
Miro Miroslavov
Telerik team
Atanas
Telerik team
Share this question
or