XamlParseException telerik:RadRadioButton

Thread is closed for posting
11 posts, 1 answers
  1. uku
    uku avatar
    57 posts
    Member since:
    Mar 2009

    Posted 25 Jun 2010 Link to this post

    Hello,

    I'm using the following telerik components
    in a minified version
    - Telerik.WIndows.Controls.dll
    - Telerik.Windows.Controls.Input.dll
    - Telerik.Windows.Controls.Navigation.dll
    - Telerik.Windows.Data.dll
    and  the original version of Telerik.Windows.Controls.GridViews because of the GridViewSelectColumn problem (see post http://www.telerik.com/community/forums/silverlight/assembly-minifier/gridviewselectcolumn-does-not-exist.aspx)

    On a page where I just use the GridView and the RadButton I'm receiving the XamlParseException "Failed to create a 'System.Type' from the text 'telerik:RadRadioButton'"

    I don't use any RadRadioButton in the whole application so my question is, if there is a dependency so that it's mandatory to include the RadioButton in the minified assembly?
    By the way, are there any dependencies which has to be considered when creating the minified assembly. If this would be the case it would be helpful to receive a message like "if you select componenent x you also have to select component z"

    Thanks for your support

    Uwe
  2. Answer
    Miro Miroslavov
    Admin
    Miro Miroslavov avatar
    588 posts

    Posted 25 Jun 2010 Link to this post

    Hello uku,

    You have errors, because the minified versions of Data, Controls and Input are not minified against RadGridView - which means that some classes and resources are removed that are needed for the Grid.
    But we've just published new version that should fix the problem with the GridViewColumns.
    So you can try to minify all the assemblies including the RadGridView.

    We are waiting to hear more feedback from you.
    Thank you.

    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
  3. DevCraft banner
  4. Richard Grimmer
    Richard Grimmer avatar
    13 posts
    Member since:
    Feb 2006

    Posted 02 Sep 2010 Link to this post

    Hi there,
    I'm also experienceing the same issue (cannot create a system.type from text telerik:RadRadioButton) mentioned in the OP.

    Is there a resolution available for this problem yet please?
  5. Miro Miroslavov
    Admin
    Miro Miroslavov avatar
    588 posts

    Posted 02 Sep 2010 Link to this post

    Hello Richard Grimmer,

    Can you give us some more details. Can you send us the MinifyInfo.txt and give some more details on how you use the minified assemblies?
    Thank you.

    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
  6. Richard Grimmer
    Richard Grimmer avatar
    13 posts
    Member since:
    Feb 2006

    Posted 02 Sep 2010 Link to this post

    Of course.

    Using in pretty much the way that the OP described. I've also gone as far as re-minifying with the radio button included, but no dice.

    The one (portential) kink is that I'm using Prism / MVVM, though having said that, this is the second project I've used the minifier on and the first went swimmingly with no problems.

    MinifyInfo:
    Uploaded Assemblies:
    * Telerik.Windows.Controls.Data
    * Telerik.Windows.Controls
    * Telerik.Windows.Controls.GridView
    * Telerik.Windows.Controls.Input
    * Telerik.Windows.Controls.Navigation
    * Telerik.Windows.Controls.Scheduler
    * Telerik.Windows.Data
    ----------------------------
    Selected Controls:
    * Telerik.Windows.Controls.RadDockPanel
    * Telerik.Windows.Controls.RadExpander
    * Telerik.Windows.Controls.RadHtmlPlaceholder
    * Telerik.Windows.Controls.RadRadioButton
    * Telerik.Windows.Controls.RadGridView
    * Telerik.Windows.Controls.RadCalendar
    * Telerik.Windows.Controls.RadComboBox
    * Telerik.Windows.Controls.RadContextMenu
    * Telerik.Windows.Controls.RadMenu
    * Telerik.Windows.Controls.RadTreeView
    * Telerik.Windows.Controls.RadScheduler
    * Telerik.Windows.Controls.GridViewCheckBoxColumn
    * Telerik.Windows.Controls.GridViewComboBoxColumn
    * Telerik.Windows.Controls.GridViewDynamicHyperlinkColumn
    * Telerik.Windows.Controls.GridViewHyperlinkColumn
    * Telerik.Windows.Controls.GridViewImageColumn
    * Telerik.Windows.Controls.GridViewMaskedTextBoxColumn
    * Telerik.Windows.Controls.GridViewSelectColumn
    * Telerik.Windows.Controls.GridViewToggleRowDetailsColumn
    * Telerik.Windows.Controls.ExportExtensions
    * Telerik.Windows.Controls.PrintExtensions
    * Telerik.Windows.Controls.GridView.CheckBoxEditor
    * Telerik.Windows.Controls.GridView.GridViewFilteringDropDown
    * Telerik.Windows.Controls.Resource
  7. Miro Miroslavov
    Admin
    Miro Miroslavov avatar
    588 posts

    Posted 02 Sep 2010 Link to this post

    Hi Richard Grimmer,

    By re-minifying do you mean that you uploaded the already minified assemblies, or started with the original ones? The first will not work, since the Radio button is excluded from the assemblies and after that even you select it in the UI - it can't add it back. So you should minify the original assemblies.

    The Prism shouldn't be a problem - it could be a problem for the up-coming "Xap Minifier" - which will have to deal with the dynamic loading of modules. :)

    Please let me know if minifying the original assemblies fixes the problem.

    Sincerely yours,
    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
  8. Richard Grimmer
    Richard Grimmer avatar
    13 posts
    Member since:
    Feb 2006

    Posted 02 Sep 2010 Link to this post

    Lol - I'm not QUITE that gormless...

    I did indeed use the un-minified assemblies when including the radio button - as you can see from the minifyinfo, the radio button is included (which it obviously wouldn't be if I'd used minified assemblies).

  9. Miro Miroslavov
    Admin
    Miro Miroslavov avatar
    588 posts

    Posted 02 Sep 2010 Link to this post

    Hello Richard Grimmer,

    Sorry for that, i just don't get the exact meaning of re-minifying.
    However I've just tried minifying exactly the same thing and created simple example project showing few RadioButtons. (the reflector also says that the RadRadioButton is present in the Controls.dll)
    Can you check the attached example and the minified assemblies as well.
    It is also possible to run into VS issue - is it possible to cache your first version of the assemblies without RadioButton, and now it can't realize that the ref. assemblies are different, thus using the old ones from it's cache (it often do this). You can try Cleaning a couple of times, deleting bin/obj folders and it this doesn't help, you can paste the assemblies in another folder and reference from there.
    Please let me know if this solve the problem.

    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
  10. Richard Grimmer
    Richard Grimmer avatar
    13 posts
    Member since:
    Feb 2006

    Posted 02 Sep 2010 Link to this post

    Hi there....

    OK - good news, it seems to (provisionally) be working, but with a couple of points however...

    The sample project that you sent ran up correctly, but when viewing mainpage.xaml, the radio buttons are shown as standard buttons (in the designer also)..not a problem just a little odd.

    So in the end I used the assemblies from your project and referenced them instead of my versions - all seems to be ok, but I'd like to know what I'd missed - can you send me your minifyinfo file so that I can see how it was done (and so that we can repeat the process) - I'm assuming that I'd missed a couple of important things, since all of your assemblies are slightly larger than mine (but have still taken the "telerik payload" in our app from 4.19 down to 2.97MB)

    Thanks for your help chap.



  11. Miro Miroslavov
    Admin
    Miro Miroslavov avatar
    588 posts

    Posted 03 Sep 2010 Link to this post

    Hello Richard Grimmer,

    You can find the MinifyInfo file in the attached archive. Actually I've minified the latest build of the selected controls. (you may notice the version is much higher than yours assemblies). it is possible that the assemblies are different, thus the minified assemblies are larger. If you want, you can try with the latest official binaries form the Service Pack 1 and see if it works the same way.

    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
  12. Richard Grimmer
    Richard Grimmer avatar
    13 posts
    Member since:
    Feb 2006

    Posted 03 Sep 2010 Link to this post

    That's brilliant - thanks very much for your time.
Back to Top
DevCraft banner