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

Having trouble with Tab and Beta 2

6 Answers 109 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Ben Hayat
Top achievements
Rank 2
Ben Hayat asked on 27 Aug 2008, 03:57 PM
I just installed the B2 and added new dlls to my current project. In Blend, If I go to a page that has a Tab Control there, I get error message "Cannot create an instance or RADTabControl". With this error, I can't see the control or the content at design time to work on the page. Any suggestion or workaround?

..Ben

6 Answers, 1 is accepted

Sort by
0
Accepted
Miroslav
Telerik team
answered on 29 Aug 2008, 07:31 AM
Hello Ben,

There was an update of the controls that resolves the design-time issues with Blend. Please download the controls again.

I am sorry for any inconvenience caused.

Regards,
Miroslav
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
ChrisWalker
Top achievements
Rank 1
answered on 29 Aug 2008, 01:38 PM

Ben, Miroslav

I had this same problem yesterday. What I found was that in VS I had Telerik.Windows.Controls.Navigation as my only Telerik assembly. It worked fine in VS but opening in blend produced the error Ben found. If I added Telerik.Windows.Controls as a reference in VS I could open the page in blend.

0
Ben Hayat
Top achievements
Rank 2
answered on 29 Aug 2008, 02:26 PM
Miroslav;

Thank you for the update and I'll download it now!
..Ben
0
Ben Hayat
Top achievements
Rank 2
answered on 01 Sep 2008, 03:14 PM
New update works!

Thanks!
..Ben
0
Sandeep
Top achievements
Rank 1
answered on 10 Oct 2008, 07:10 PM
Hi,
I was having the same problem as mentioned by Ben with "Telerik_RadControls_for_Silverlight_Beta2_Trial" .
I took the latest download "Telerik_RadControls_for_Silverlight_RC0_Trial".
Now I am not able to drag the TabControl on the Expression Blend 2.5 June 2008 preview. Every time I do it, I get the following error :

---------------------------
Target Invocation Exception
---------------------------
Inner exception: System.TypeInitializationException: The type initializer for 'Telerik.Windows.Controls.RadTabControl' threw an exception. ---> System.MissingMethodException: Method not found: 'Void System.Windows.PropertyMetadata..ctor(System.Object, System.Windows.PropertyChangedCallback)'.

   at Telerik.Windows.Controls.RadTabControl..cctor()

   --- End of inner exception stack trace ---
---------------------------
OK  
---------------------------


I have silverlight 2 Beta 2 on my machine and for Telerik have the dlls from the download of  "Telerik_RadControls_for_Silverlight_RC0_Trial".
Regards,
Sandeep
0
Ben Hayat
Top achievements
Rank 2
answered on 10 Oct 2008, 09:23 PM
Sandeep, be sure have the following setup correctly:

.Net 3.5 SP1
VS 2008 SP1
SL RC0
Blend 2 SP1
Telerik RC0 compatible controls (latest one to pickup).

Try the tab with the above combo and see if you still have problem.
Tags
TabControl
Asked by
Ben Hayat
Top achievements
Rank 2
Answers by
Miroslav
Telerik team
ChrisWalker
Top achievements
Rank 1
Ben Hayat
Top achievements
Rank 2
Sandeep
Top achievements
Rank 1
Share this question
or