RadGridView控件如何为某些列添加超链接?在线等
xaml代码如下:
<telerik:RadGridView ShowGroupPanel="False" AutoGenerateColumns="False" EnableColumnVirtualization="False" EnableRowVirtualization="False" IsReadOnly="True" IsFilteringAllowed="False" Margin="3" RowIndicatorVisibility="Collapsed" CanUserFreezeColumns="False" CanUserSelect="True" RowStyle="{StaticResource TssGridViewRowStyle}" x:Name="cityList" Grid.Row="1"> <telerik:RadGridView.Columns> <telerik:GridViewToggleRowDetailsColumn HeaderCellStyle="{StaticResource GridViewHeaderCellStyle1}"/> <telerik:GridViewDataColumn Header="城市名称" TextAlignment="Center" HeaderTextAlignment="Center" MinWidth="200" DataMemberBinding="{Binding cityname}" HeaderCellStyle="{StaticResource GridViewHeaderCellStyle1}" /> <telerik:GridViewDataColumn Header="ODN数" TextAlignment="Center" HeaderTextAlignment="Center" MinWidth="150" DataMemberBinding="{Binding odnct}" HeaderCellStyle="{StaticResource GridViewHeaderCellStyle1}" /> <telerik:GridViewDataColumn Header="OLT数" TextAlignment="Center" HeaderTextAlignment="Center" MinWidth="150" DataMemberBinding="{Binding oltct}" HeaderCellStyle="{StaticResource GridViewHeaderCellStyle1}"/> <telerik:GridViewDataColumn Header="ONU数" TextAlignment="Center" HeaderTextAlignment="Center" MinWidth="150" DataMemberBinding="{Binding onuct}" HeaderCellStyle="{StaticResource GridViewHeaderCellStyle1}" /> <telerik:GridViewDataColumn Header="未分配的ONU" TextAlignment="Center" HeaderTextAlignment="Center" MinWidth="150" DataMemberBinding="{Binding nouse}" HeaderCellStyle="{StaticResource GridViewHeaderCellStyle1}" /> <telerik:GridViewDataColumn Header="" TextAlignment="Center" HeaderTextAlignment="Center" Width="*" HeaderCellStyle="{StaticResource GridViewHeaderCellStyle1}" /> </telerik:RadGridView.Columns> <telerik:RadGridView.RowDetailsTemplate> <DataTemplate> <this:CollocateManage_town HorizontalAlignment="Left" VerticalAlignment="Top" Margin="50,5,5,5"/> </DataTemplate> </telerik:RadGridView.RowDetailsTemplate> </telerik:RadGridView>