Binding problem with textblock in columns footer

3 posts, 1 answers
  1. Sagar
    Sagar avatar
    17 posts
    Member since:
    Sep 2010

    Posted 02 Dec 2010 Link to this post

    I want to show value in textbox to columns footer.

     <telerik:GridViewMaskedTextBoxColumn UniqueName="Ending" Mask="n2" MaskType="Numeric" Header="{Binding Path=Resources.Ending, Source={StaticResource LocProvider}}" DataMemberBinding="{Binding EndRead, StringFormat='{}{0:f}',Mode=TwoWay}">

                           <telerik:GridViewMaskedTextBoxColumn.Footer>

                                <telerik:ItemsControl>
                                    <StackPanel>
                                        <TextBlock Text="{Binding ElementName=txtTaxVariance,Path=MaskedText}" />
                                </StackPanel>
                                </telerik:ItemsControl>                 
             
                            </telerik:GridViewMaskedTextBoxColumn.Footer>

                        </telerik:GridViewMaskedTextBoxColumn>

    I've binded datasource to radgrid,txtTaxVariance is not in radgrid but I want to set it's text to the textblock which is in footer of the column.I've tried it as shown in given code but it's not working.
  2. Answer
    Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 02 Dec 2010 Link to this post

    Hi Sagar,

    Please check whether this troubleshooting article helps.

    Best wishes,
    Veselin Vasilev
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  3. DevCraft banner
  4. Sagar
    Sagar avatar
    17 posts
    Member since:
    Sep 2010

    Posted 03 Dec 2010 Link to this post

    Thanks for reply.It's working...
Back to Top