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

RadControls Not working

2 Answers 82 Views
DataFilter
This is a migrated thread and some comments may be shown as answers.
Chinedu
Top achievements
Rank 1
Chinedu asked on 19 Jun 2012, 03:47 PM
Hi,

I am evaluating the Rad controls for a new project.

specifically Radfilter and GridView.

I have added both to my project but they are not visible in designer or on the wpf form when i run the app.

Am I missing something

See xaml below

<Window x:Class="TelerikRadFilter.MainWindow"
        Title="MainWindow" Height="auto" Width="auto">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>
         
        <StackPanel>
            <Button Content="YTest" HorizontalAlignment="Center" Width="100"/>
            <telerik:RadDataFilter Name="radDataFilter"  Background="Aqua"
                               Grid.Row="0"
                               MinHeight="193" MaxHeight="250" Width="700"
                               Source="{Binding Employees}"
                               Margin="1"/>
        </StackPanel>
 
       
        <telerik:RadGridView Name="radGridView"
                             Grid.Row="1"
                             MinHeight="193" MaxHeight="250" Width="700"
                             ItemsSource="{Binding Employees}" ColumnWidth="*"
                             IsFilteringAllowed="False"
                             CanUserFreezeColumns="False" RowIndicatorVisibility="Collapsed"
                             AutoGenerateColumns="False"
                             Margin="1">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding FirstName}" Header="First Name"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding LastName}" Header="Last Name"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding DateOfBirth}" DataFormatString="{}{0:d}" Header="Date Of Birth"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Address}" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding City}" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding State}"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Salary}" DataFormatString="{}{0:C2}" />
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
    </Grid>
</Window>

2 Answers, 1 is accepted

Sort by
0
Vera
Telerik team
answered on 19 Jun 2012, 04:21 PM
Hi Chinedu,

 
I prepared a project based on the code-snippet you provided and I did not experience the described issue. Please take a look at it. May I ask you to check if you have references to the NoXaml binaries? This might be the reason not to see both RadDataFilter and RadGridView.

Regards,
Vera
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Chinedu
Top achievements
Rank 1
answered on 19 Jun 2012, 04:37 PM
Thanks a bunch, I was referencing the NoXaml Binaries
Tags
DataFilter
Asked by
Chinedu
Top achievements
Rank 1
Answers by
Vera
Telerik team
Chinedu
Top achievements
Rank 1
Share this question
or