This is a migrated thread and some comments may be shown as answers.

RadGridview Issue

1 Answer 68 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dharmvir
Top achievements
Rank 1
Dharmvir asked on 13 Aug 2012, 12:00 PM

i am want to Add a button on GropHeadertempelete .but Add Hyperlinkbutton is not visisible please help my xaml code is:

 

 

 

 

<telerik:RadGridView Name="GvShutDownMaintance" telerik:StyleManager.Theme="Metro" AutoGenerateColumns="False" HorizontalAlignment="Center" ScrollViewer.VerticalScrollBarVisibility="Auto" Height="530" CanUserDeleteRows="False" CanUserInsertRows="False" FontSize="13" GridLinesVisibility="Both" IsBusy="False" >

 

 

 

 

 

 

<telerik:RadGridView.GroupHeaderTemplate>

 

 

 

 

 

 

 

 

<DataTemplate>

 

 

 

 

 

 

 

 

<HyperlinkButton Content="sdasjdgajdjaasda" Background="Red"/>

 

 

 

 

 

 

 

 

</DataTemplate>

 

 

 

 

 

 

 

 

</telerik:RadGridView.GroupHeaderTemplate>

 

 

 

 

 

 

 

 

 

 

 

<telerik:RadGridView.Columns>

 

 

 

 

 

 

 

 

<telerik:GridViewDataColumn Header="Serial No." DataMemberBinding="{Binding ID}" HeaderTextAlignment="Center" TextAlignment="Center" />

 

 

 

 

 

 

 

 

 

<telerik:GridViewDataColumn Header="Start Date" DataMemberBinding="{Binding StartDate}" HeaderTextAlignment="Center" TextAlignment="Center"/>

 

 

 

 

 

 

 

 

 

<telerik:GridViewDataColumn Header="End Date" DataMemberBinding="{Binding EndDate}" HeaderTextAlignment="Center" TextAlignment="Center"/>

 

 

 

 

 

 

 

 

 

<telerik:GridViewDataColumn Header="Duration" DataMemberBinding="{Binding SDuration}" HeaderTextAlignment="Center" TextAlignment="Center"/>

 

 

 

 

 

 

 

 

 

<telerik:GridViewDataColumn Header="Remarks" DataMemberBinding="{Binding Remarks}" HeaderTextAlignment="Center" TextAlignment="Center"/>

 

 

 

 

 

 

 

 

 

<telerik:GridViewDataColumn Header="Type" DataMemberBinding="{Binding UserType}" HeaderTextAlignment="Left" TextAlignment="Left" Width="50*"/>

 

 

 

 

 

 

 

 

 

<telerik:GridViewDataColumn Header="Delete">

 

 

 

 

 

 

 

 

 

<telerik:GridViewDataColumn.CellTemplate>

 

 

 

 

 

 

 

 

 

<DataTemplate>

 

 

 

 

 

 

 

 

 

<telerik:RadButton Name="btnShutdownMaintance" Click="btnShutdownMaintance_Click" Background="{x:Null}">

 

 

 

 

 

 

 

 

 

<telerik:RadButton.Content>

 

 

 

 

 

 

 

 

 

<Image Source="/CCCSUI;component/Images/Delete_icon.jpg" Width="40" Height="20"/>

 

 

 

 

 

 

 

 

 

</telerik:RadButton.Content>

 

 

 

 

 

 

 

 

 

</telerik:RadButton>

 

 

 

 

 

 

 

 

</DataTemplate>

 

 

 

 

 

 

 

 

 

</telerik:GridViewDataColumn.CellTemplate>

 

 

 

 

 

 

 

 

 

</telerik:GridViewDataColumn>

 

 

 

 

 

 

 

 

</telerik:RadGridView.Columns>

 

 

 

 

 

 

 

 

 

</telerik:RadGridView>

 




the Hyper Link not visible

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 15 Aug 2012, 06:58 AM
Hello,

I have tested the code you have shared with our latest version. Once I grouped on any column, the hyper link button was shown on the group rows. 

May ask you to share what is the result you got when you group on a column?

Kind regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
General Discussions
Asked by
Dharmvir
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or