RadGridview Issue

2 posts, 0 answers
  1. Dharmvir
    Dharmvir avatar
    1 posts
    Member since:
    Aug 2012

    Posted 13 Aug 2012 Link to this post

    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
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 15 Aug 2012 Link to this post

    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.

Back to Top