XamlParseException: [Line: 0 Position: 0]" Issue

9 posts, 0 answers
  1. Imdad Turi
    Imdad Turi avatar
    29 posts
    Member since:
    Aug 2013

    Posted 10 Apr 2014 Link to this post

    Hello Every1 and Telerik,



    I am converting my whole application from Silverlight's Controls to Telerik Controls.

    i am facing "XamlParseException:  [Line: 0 Position: 0]" on every
    Screen(View). I searched so many threads but didn't got anything that
    can fix my issue, the main problem with this issue is that i can not
    event debug, don't know which part of xaml is creating this issue. any
    one with the solution please?



    Please see attached screen for the issue snapshot.



    thanks
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 10 Apr 2014 Link to this post

    Hello,

    Reading thought the details under the exception, it doesn't seem to be related to our controls. Would you please try clearing your solution and rebuilding it? 

    Regards,
    Didie
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. DevCraft banner
  4. Imdad Turi
    Imdad Turi avatar
    29 posts
    Member since:
    Aug 2013

    Posted 10 Apr 2014 in reply to Dimitrina Link to this post

    Hello Didie,

    thank you for your response.

    tried that so many times, CLean and rebuilt didn't resolve my issue :(. My app was working fine but when i converted all Silverlight control to Telerik, this issue appeared. i tried every solution that was suggested in different threads. Clean and Rebuilt succeed, actually its fine at runtime but i am not able to get design view.

  5. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 10 Apr 2014 Link to this post

    Hello,

    May I ask you to share more detailed information on your exact configuration you have and what controls do you use? Do you reference  full or NoXaml binaries? You can check our documentation on Implicit Styles for more information on the difference between both.

    What Theme have you applied? What is the version of the referenced assemblies and which are they exactly? Would it be possible for you to isolate the case to a single control/assembly? Any additional information helping us to locate the problem will be also very useful.

    Regards,
    Didie
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  6. Imdad Turi
    Imdad Turi avatar
    29 posts
    Member since:
    Aug 2013

    Posted 10 Apr 2014 in reply to Dimitrina Link to this post

    Hello Didie,

    I updated telerik to latest just before replying to you, but got no luck with issue. I am using Telerik's Label, RadTabControl, 7 RadGridView, RadComboBoxes, RadMaskedTextInput, RadMaskedNumericInput, RadExpander, RadButtons. I am using all above mentioned controls in a Silverlight ChildWindow along with some silverlight's Checkboxes.

    Also one othe thing i wanna share with you is that when i comment out Telerik Labels the error changes to "ArgumentException: The value "Telerik.Windows.Controls.Animation.TreeViewExpandCollapseAnimation" is not of type "Telerik.Windows.Controls.Animation.RadAnimation" and cannot be used in this generic collection.
    Parameter name: value" PLEASE SEE ATTACHMENTS FOR MORE DETAIL.

    I am not able to fine that which control is producing the issue thats why i can not isolate the case in another project.

    waiting for your response.

    Imdad
  7. Imdad Turi
    Imdad Turi avatar
    29 posts
    Member since:
    Aug 2013

    Posted 14 Apr 2014 in reply to Dimitrina Link to this post

    Hello Didie,

    I have opened my project in Visual Studio 2010 and 2012, and its working fine. Is there any support issue with Telerik controls in Visual Studio 2013?

    Imdad
  8. Evgenia
    Admin
    Evgenia avatar
    1407 posts

    Posted 14 Apr 2014 Link to this post

    Hello Imdad,

    I tried to reproduce the exception in Visual Studio 2013 but to no avail. The exception is thrown by RadTreeView collapse-expand animation but the latter is working as expected on our side.
    I suggest that you went through every project in your solution that refers our binaries and delete the bin & obj folders (you have to close Visual Studio to be able to achieve this). Then open the IDE again and clean and rebuilt the solution. You should be able to see all controls without errors in Design View.

    If you still reproduce the unwanted behaviour please send us a runnable version of your project so that we can reproduce and inspect it locally. Without any sample that reproduces this we are unable to help you.

    Regards,
    Evgenia
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  9. Kofi
    Kofi avatar
    1 posts
    Member since:
    Jul 2013

    Posted 20 Mar 2015 in reply to Evgenia Link to this post

    Hi All in this thread,
    Just to help anyone who experiences this in the future:
    I upgraded my telerik controls using the upgrade wizard and I encountered exactly this same problem.  All of my pages with telerik controls were experiencing this problem with a XamlParseException at Line:0 Col:0.
    The way to fix it was this:

    1.  Remove all references to the telerik dlls.
    2.  Re-add the references from the primary installation location (in my case C:\Program Files (x86)\Telerik...

    If you do this while you have one of the offending pages open, you will see it instantly render correctly.

    Best Regards

    Kofi


  10. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 21 Mar 2015 Link to this post

    Hello Kofi,

    Thank you very much for sharing your experience with the community.

    Regards,
    Dimitrina
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
DevCraft banner