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

CustomFilterRow need help

5 Answers 47 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Marc Roussel
Top achievements
Rank 2
Marc Roussel asked on 11 Dec 2010, 12:16 PM
I've implemented the CustomFilterRow but it doesn't show on the grid as your demo
Is there something I'm missing ?

    <telerikGridView:RadGridView x:Name="rgvOCs" Margin="21,182,21,48" RenderTransformOrigin="0.5,0.5" local:CustomFilterRow.IsEnabled="True" >
    </telerikGridView:RadGridView>

5 Answers, 1 is accepted

Sort by
0
Marc Roussel
Top achievements
Rank 2
answered on 14 Dec 2010, 01:29 PM
Ok after a few tests I see that this is almost working when I just have a collection of object but when I have a collection of DataContract coming from WCF the CustomFilterRow does not appear on the grid.

Also with the simple collection I see the controls but they are all small and on the same column which is the first one
0
Marc Roussel
Top achievements
Rank 2
answered on 14 Dec 2010, 02:51 PM
Ticket ID #376118 was created with a repro
0
Vanya Pavlova
Telerik team
answered on 14 Dec 2010, 05:20 PM
Hi Marc,

 
Thank you for submitting your project. The main problem was the defined namespace with prefix "local:", your main page should be the following one:

<UserControl
    xmlns:System="clr-namespace:System;assembly=mscorlib"
    xmlns:local="clr-namespace:SLOrderConfirmation;assembly=Repro"
    x:Class="Repro.MainPage"
    mc:Ignorable="d"
    d:DesignHeight="520" d:DesignWidth="816" Loaded="MainPage_Loaded">
    <Grid x:Name="LayoutRoot">
        <telerik:RadGridView x:Name="rgvTest" local:CustomFilterRow.IsEnabled="True" Margin="8" GridLinesVisibility="Horizontal" CanUserFreezeColumns="False" />
    </Grid>
</UserControl>

Also you may see the result at the attached picture as well as with your modified project.

All the best,
Vanya Pavlova
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Marc Roussel
Top achievements
Rank 2
answered on 14 Dec 2010, 05:57 PM
Ok this explains it.
I think they need to enhence the way we add namespace in the xaml as this should have been added automaticly since adding my namespace which it already knows it according to the intellisence but it doesn't add the necessary information for the assembly

0
Marc Roussel
Top achievements
Rank 2
answered on 15 Dec 2010, 01:30 PM
As stated in the ticket, this isn't working when you just use the data coming from WCF or if you use only the collection of fix data, the strange behaviour is back
Tags
GridView
Asked by
Marc Roussel
Top achievements
Rank 2
Answers by
Marc Roussel
Top achievements
Rank 2
Vanya Pavlova
Telerik team
Share this question
or