Prasant Jinaga

Prasant Jinaga

  • 928
  • 750
  • 420k

Databinding of Hyperlink in Silverlight

Sep 5 2011 2:38 AM
Hi,
 
I want to bind some value from the database into the hyperlink button in the row group header in my Silverlight Application.

I have Brought the hyperlink in Row group Header but how to bind it with the values???

<sdk:DataGrid.RowGroupHeaderStyles>
                              <Style TargetType="sdk:DataGridRowGroupHeader">
                                    <Setter Property="PropertyNameVisibility" Value="Collapsed"/>
                                    <Setter Property="Template">
                                          <Setter.Value>
                                                <ControlTemplate TargetType="sdk:DataGridRowGroupHeader">                                                     
                                                      <HyperlinkButton Name="hplbtn" Content="View" CommandParameter="Binding">                                                           
                                                      </HyperlinkButton>
                                                </ControlTemplate>
                                          </Setter.Value>
                                    </Setter>
                              </Style>        
                        </sdk:DataGrid.RowGroupHeaderStyles>

Can anyone help on this please....
 
Thanks,
Prasant

Answers (1)