CustomFilterRow need help

6 posts, 0 answers
  1. Marc Roussel
    Marc Roussel avatar
    429 posts
    Member since:
    Dec 2009

    Posted 11 Dec 2010 Link to this post

    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>
  2. Marc Roussel
    Marc Roussel avatar
    429 posts
    Member since:
    Dec 2009

    Posted 14 Dec 2010 Link to this post

    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
  3. DevCraft banner
  4. Marc Roussel
    Marc Roussel avatar
    429 posts
    Member since:
    Dec 2009

    Posted 14 Dec 2010 Link to this post

    Ticket ID #376118 was created with a repro
  5. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 14 Dec 2010 Link to this post

    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
  6. Marc Roussel
    Marc Roussel avatar
    429 posts
    Member since:
    Dec 2009

    Posted 14 Dec 2010 Link to this post

    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

  7. Marc Roussel
    Marc Roussel avatar
    429 posts
    Member since:
    Dec 2009

    Posted 15 Dec 2010 Link to this post

    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
Back to Top
DevCraft banner