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

RadCalendar control not visible in design...

4 Answers 93 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 28 Feb 2012, 09:37 PM

I am in the process of evaluating Telerik controls for WPF.  I started by added a RadTabControl
to my main window (window1).  I then set up 3 RadTabItems by using the collection editor
under the Items property of the RadTabControl.  Dragging other controls from the toolbox
over to specific RadTabItems doesn't appear to work.  I manually went into the XAML code
and inserted a calendar control on RadTabItem(2), and it shows up when running the
program, it does not show when in design mode however.  I'm further confused by how
you would go about adding multiple controls to a RadTabItem.   I am currently using
Visual Studio 2008 Version 9.0.21022.8 .Net Framework 3.5.  Here is my current
XAML code.  I'm wondering if someone could give me some pointers on what I'm
doing wrong ?

<Window x:Class="Window1"
    Title="Window1" Height="300" Width="708" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
    <Grid>
        <telerik:RadTabControl Margin="39,51,94,45" Name="RadTabControl1" TabOrientation="Vertical" TabStripPlacement="Left">
            <telerik:RadTabItem AllowDrop="True" Header="Tab1" Name="RTI1"></telerik:RadTabItem>
            <telerik:RadTabItem AllowDrop="True" Header="Tab2" Name="RTI2">
                <telerik:RadCalendar Name="RadCalendar1" HorizontalAlignment="Left" Width="121" ClipToBounds="True" telerik:StyleManager.Theme="Metro"></telerik:RadCalendar>
            </telerik:RadTabItem>
            <telerik:RadTabItem AllowDrop="True" Header="Tab3" Name="RTI3"></telerik:RadTabItem>
        </telerik:RadTabControl>
    </Grid>
</Window>

4 Answers, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 29 Feb 2012, 04:16 PM
Hello Dan,

We were unable to reproduce this issue at our end. This screencast demonstrates me trying to achieve your scenario. Could you please take a look at it and let me know if I am missing anything. I'd be glad to furher assist you.

Greetings,
Kiril Stanoev
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Dan
Top achievements
Rank 1
answered on 29 Feb 2012, 09:11 PM
Kiril,
  After further playing around, it doesn't appear to be
a problem with your controls.  I just tried the same scenario
with a microsoft tab control and got the same results.  The
designer is not refreshing even after I do a Build.  Again,
the controls I put on the tabitems are showing at run-time,
just not in design mode. 
As another experiment, I downloaded Visual Studio 2011
developer preview this morning.  It works perfect.  I'm
able to drag and drop my controls from my toolbar over
to my WPF tabcontrol and they appear within seconds. 
I added various different controls to the 3 tab items that
I created, and they all show up in design mode. 
If Visual Studio 2008 is supposed to respond like you
showed on your video, something is wacked on my
installation.  This is my first attempt at working with
WPF, so I'm definately a novice.  I appreciate any
advice that you can give me on working with WPF
in Visual Studio 2008.  I really don't want to invest
in VS 2010 with VS 2011 so close to launch. 

Thanks,

Dan Bratt
0
Kiril Stanoev
Telerik team
answered on 05 Mar 2012, 03:43 PM
Hi Dan,

I checked my Visual Studio 2008 version and it is different than your:



Do you have VS2008 SP1 installed? If not, could you please take a look at this link as it contains useful links for various SPs and VS versions. Give it a try and let me know if it helps.


Regards,
Kiril Stanoev
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Dan
Top achievements
Rank 1
answered on 05 Mar 2012, 05:13 PM
Kiril,
    I do see that we are running different editions of VS 2008
you have Team System and I have Professional.
We are both running SP1, but these could apply differently
to our version (maybe ?).   I don't have Microsoft support
for Visual Studio, otherwise I would log a support incident
to try and resolve this issue.   I'm not sure what else
can be done at this point.   Thank you for your follow up
on trying to help me resolve this problem.



Sincerely,

Dan Bratt
Tags
TabControl
Asked by
Dan
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Dan
Top achievements
Rank 1
Share this question
or