DataBinding Listview in RowDetailsTemplate in wpf

DataBinding Listview in RowDetailsTemplate in wpf

Hi,

i have datagrid in that datagrid hyperlink is there.when am click the hyperlink it will comes the TabControl.The hyperlink click tabcontrol comes am using RowDetailsTemplate.In that TabControl Two Tabitems are there in one Tabitem Listview DataBinding.Am using LoadingRowsDetails Event am using in Datagrid in that event am writing ListView DataBinding Dataset will come but the result will not show in listview.

I wrote like this please check this one in XAML file

<TabItem Style="{StaticResource TabItemStyle2}" Header="Logs" FontFamily="Century Gothic" Name="LogsTab">
<Grid>
  <ListView Name="lstlogs" HorizontalContentAlignment="Stretch" ItemsSource="{Binding Path=FullMessage}"   FontWeight="Normal" Margin="4" FontFamily="Tahoma" FontSize="12" Width="790" Height="125" BorderBrush="Cyan" BorderThickness="0.5">
  <ListView.View>
    <GridView>
      <GridViewColumn  DisplayMemberBinding="{Binding Path=FullMessage}" Header="FullMessage"/>
    </GridView>
  </ListView.View>
</ListView>
</Grid>
</TabItem>

In under LoadingRowsDetails Event

private void gridAllOrds_LoadingRowDetails(object sender, DataGridRowDetailsEventArgs e)
{
  procedureCall.CompanyCode = txtCompCode.Text;
  DataSet dsLogs = procedureCall.getFullMessage();
  lstlogs.ItemsSource = dsLogs.Tables[0].DefaultView;


}

please check this what am doing wrong

Thanks
@Lakshmi

Add Comment

Put code snippets inside language tags:
[language] [/language]

Examples:
[javascript] [/javascript]
[actionscript] [/actionscript]
[csharp] [/csharp]

See here for supported languages.

Javascript must be enabled to submit anonymous comments - or you can login.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.