Adding Telerik page causing exception in blend

13 posts, 0 answers
  1. Big G
    Big G avatar
    19 posts
    Member since:
    Jan 2013

    Posted 03 Feb 2013 Link to this post

    I created a fresh Windows Phone 8 app using the telerik template and I added all of the telerik dll's. Then I added a telerik item and selected Multipurpose Form. In visual studio this generated and error in the designer so I rebuilt the app and everything looked ok. Opened in blend and I get the following.

    ArgumentException: Value does not fall within the expected range.
    StackTrace
       at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
       at MS.Internal.XcpImports.SetValue(IManagedPeerBase obj, DependencyProperty property, Double d)
       at System.Windows.DependencyObject.SetValue(DependencyProperty property, Double d)
       at Telerik.Windows.Controls.RadListPicker.OnSizeChanged(Object sender, SizeChangedEventArgs e)
       at System.Windows.FrameworkElement.OnSizeChanged(Object sender, SizeChangedEventArgs e)
       at MS.Internal.JoltHelper.RaiseEvent(IntPtr target, UInt32 eventId, IntPtr coreEventArgs, UInt32 eventArgsTypeIndex)
    InnerException: None
  2. Big G
    Big G avatar
    19 posts
    Member since:
    Jan 2013

    Posted 04 Feb 2013 Link to this post

    Issue maybe sorted, using the Control Panel I repaired the windows phone 8 UI controls (forcing it download again). Compiled the project and now it all seems fine.
  3. DevCraft banner
  4. Todor
    Admin
    Todor avatar
    778 posts

    Posted 06 Feb 2013 Link to this post

    Hi Gareth,

    We are glad that your issue is sorted now.
    Don't hesitate to write us back if you experience any difficulties with our controls.

    Regards,
    Todor
    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  5. Big G
    Big G avatar
    19 posts
    Member since:
    Jan 2013

    Posted 06 Feb 2013 Link to this post

    Issue is now there evertime i open the page in blend and vs. As soon as i rebuild it the error goes.
  6. Todor
    Admin
    Todor avatar
    778 posts

    Posted 11 Feb 2013 Link to this post

    Hello Gareth,

    We are not aware of similar behavior with our product. First try to clean the solution and rebuild it. Also try closing and opening again Visual Studio and/or Blend. If this doesn't help, I'd like to ask you to elaborate a bit more about the exact steps to reproduce this issue. Is it only when you add new telerik item? Did it happen only once or every time you create a new project with our assemblies?

    I'm looking forward to your reply.

    Kind regards,
    Todor
    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  7. steffen
    steffen avatar
    4 posts
    Member since:
    Mar 2013

    Posted 07 Apr 2013 Link to this post

    Same problem here but not in blend. Designer shows this error after every compile.
    Restart VS helps, but only until next compile.

    It really gets me mad...
  8. Todor
    Admin
    Todor avatar
    778 posts

    Posted 11 Apr 2013 Link to this post

    Hello Steffen,

    The issue discussed in this thread is considered as resolved, so I'd like to ask you to share some more details for your scenario. What controls are you trying to add? Do you add them in code or you drag them from the toolbox? What is the exact exception that you get? And is it only in the designer or you can't build the solution at all?

    Regards,
    Todor
    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  9. Big G
    Big G avatar
    19 posts
    Member since:
    Jan 2013

    Posted 11 Apr 2013 Link to this post

    Sorry for not replying back Todor, I have been off the project for a while and completely forgot about this issue until steffen replied.

    My issue was never resolved, I will try and look at the project again later to get some more feedback but the issue for me was that the error would occur every time I opened the window containing the Multipurpose Form item in blend and vs 2012. If I rebuilt the project then the error would go away and the designer would display.
  10. Todor
    Admin
    Todor avatar
    778 posts

    Posted 16 Apr 2013 Link to this post

    Hello Gareth,

    Thank you for getting back to us.

    I suppose that the Multipurpose form that you refer to is one of the Design Templates that we have and you add it by the Add New Item menu. It is expected that when you add a new item and it adds some references to our assemblies, the project needs to be rebuild in order to load the necessary information from them and display the page correctly. If you stumble upon another scenario where the issue doesn't go away with rebuild or reopen of VisualStudio, we will be very grateful if you share with us more detailed information about how we can reproduce such an issue, in order to find its cause and fix it.

    Kind regards,
    Todor
    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  11. Dave Baumann
    Dave Baumann avatar
    6 posts
    Member since:
    Mar 2010

    Posted 04 May 2013 Link to this post

    I am also having issues opening the Telerik Controls (even the sample project) in Blend for Visual Studio 2012. I tried repairing the install using the Telerik Control Panel but to no avail. The stack trace is below and I have attached a screenshot of Blend. I am running the latest release from April 18, 2013.

       at Telerik.Windows.Controls.RadDataBoundListBox.OnItemLoadingTemplateChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) in c:\Builds\204\WindowsPhone\All_Controls_WP\Sources\Development\Controls\Primitives\DataBoundListBox\RadDataBoundListBox.cs:line 1335
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)

    Thanks,

    Dave
  12. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 09 May 2013 Link to this post

    Hello Dave,

    I have tried to reproduce the issue on my side but did not succeed in doing so.

    What I did is install the Q1 2013 SP1 release, open the Telerik Examples solution in Expression Blend, build it and open the OnDemand example - everything seems to work correctly here.

    Can you please try updating the references in the project to make sure they are all the same version and see if this fixes the case?

    Can you also check if you have all updates for Visual Studio/Blend (including Update 2) installed?

    Regards,
    Deyan
    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  13. Dave Baumann
    Dave Baumann avatar
    6 posts
    Member since:
    Mar 2010

    Posted 09 May 2013 Link to this post

    Hello Deyan,

    My install was not clean, per se`. I had upgraded from the Q1 gold release. I believe it does an uninstall and re-install but in any case I didn't go from nothing to Q1 2013 sp1. I do have Update 2 for Visual Studio 2012 installed and it's entirely possible that I installed Update 2 after I installed the latest Telerik controls. I don't remember the release dates for each but I know installed both the Telerik Controls and Update 2 right after they were available.

    I removed the controls, did a re-download using the Telerik Control Panel and re-installed the controls. After that Blend appears to work somewhat normally. I say that because Blend seems rather fickle to me in general especially when working with applications that are split out into multiple projects.
  14. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 13 May 2013 Link to this post

    Hi Dave,

    Good that you've managed to resolve the case.

    Let us know if you have further questions or need assistance.

    Kind regards,
    Deyan
    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Back to Top
DevCraft banner