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>
<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;
}
{
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
[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.