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

[Solved] ItemSource property does not show in intellisense

2 Answers 64 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
FieldTRAKS
Top achievements
Rank 1
FieldTRAKS asked on 08 Jul 2009, 03:09 AM
I have added a RadGridView in my xaml page but when I access it from the code behind cs page I am not offered the ItemsSource property in the intellisense. When I type it in manually I get an error saying the the property does not exist for the RadGridView class.

Even if I try to create an instance of the RadGridView class in code the resulting object does not offer the ItemsSource property  i nthe intellisense...What am I doing wrong???



<UserControl x:Class="FTSilverControls.FTHistorySheet"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
              xmlns:telgrid="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"
  xmlns:telctrl="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input"
    Width="1024"        Height="768">
    <Grid x:Name="LayoutRoot" Background="White">
        <StackPanel>
            <TextBlock Text="$Activity Name$ History for $object name$" ></TextBlock>
            <Grid Height="125">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width=".4"></ColumnDefinition>
                    <ColumnDefinition Width=".4"></ColumnDefinition>
                <ColumnDefinition Width=".2"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                
                <StackPanel Grid.Column="0" Orientation="Vertical">
                    <TextBlock Text="Start Date"></TextBlock>
                    <telctrl:RadCalendar ></telctrl:RadCalendar>
                </StackPanel>
                <StackPanel Grid.Column="1" Orientation="Vertical">
                    <TextBlock Text="End Date"></TextBlock><telctrl:RadCalendar></telctrl:RadCalendar>
                </StackPanel>
                <Button Grid.Column="2"><TextBlock Text="Go"></TextBlock></Button>
            </Grid>
                <telgrid:RadGridView x:Name="datagrid" IsFilteringAllowed="True"  CanUserSortColumns="True" CanUserResizeColumns="True" ></telgrid:RadGridView>

        </StackPanel>
    </Grid>
</UserControl>


2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 08 Jul 2009, 06:00 AM
Hi Dave,

Do you have reference to Telerik.Windows.Data?

Greetings,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
FieldTRAKS
Top achievements
Rank 1
answered on 08 Jul 2009, 10:44 AM
That was the problem...I guess I missed that somewhere in the docs.

Thanks...
Tags
GridView
Asked by
FieldTRAKS
Top achievements
Rank 1
Answers by
Vlad
Telerik team
FieldTRAKS
Top achievements
Rank 1
Share this question
or