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

Adding Telerik page causing exception in blend

12 Answers 98 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Big G
Top achievements
Rank 1
Big G asked on 03 Feb 2013, 08:48 PM

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

12 Answers, 1 is accepted

Sort by
0
Big G
Top achievements
Rank 1
answered on 04 Feb 2013, 01:16 PM
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.
0
Todor
Telerik team
answered on 06 Feb 2013, 01:28 PM
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.
0
Big G
Top achievements
Rank 1
answered on 06 Feb 2013, 01:39 PM
Issue is now there evertime i open the page in blend and vs. As soon as i rebuild it the error goes.
0
Todor
Telerik team
answered on 11 Feb 2013, 11:59 AM
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.
0
steffen
Top achievements
Rank 1
answered on 07 Apr 2013, 09:19 PM
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...
0
Todor
Telerik team
answered on 11 Apr 2013, 09:41 AM
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.
0
Big G
Top achievements
Rank 1
answered on 11 Apr 2013, 09:50 AM
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.
0
Todor
Telerik team
answered on 16 Apr 2013, 08:13 AM
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.
0
Dave Baumann
Top achievements
Rank 1
answered on 05 May 2013, 04:58 AM
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
0
Deyan
Telerik team
answered on 09 May 2013, 06:40 AM
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.
0
Dave Baumann
Top achievements
Rank 1
answered on 09 May 2013, 05:26 PM
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.
0
Deyan
Telerik team
answered on 13 May 2013, 07:37 AM
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.
Tags
General Discussions
Asked by
Big G
Top achievements
Rank 1
Answers by
Big G
Top achievements
Rank 1
Todor
Telerik team
steffen
Top achievements
Rank 1
Dave Baumann
Top achievements
Rank 1
Deyan
Telerik team
Share this question
or