Hi
I am trying to delete the Complete group from Radgrid.Below is the code i am trying to use
When view this i see inactivate button for each and every row.Is there a way i can show that button only for Groupfield which is bside Number.
I know ican use detailtable/ParentTableRelation is there any other simple way i can just add delete button to Groupfield
Thanks
Kavya
I am trying to delete the Complete group from Radgrid.Below is the code i am trying to use
<rad:RadGrid ID="Subsec_grid" Visible="False" Font-Size="X-Large" OnNeedDataSource="Subsec_grid_NeedDataSource" runat="server" EnableAJAX="True" EnableAJAXLoadingTemplate="True" Skin="WebBlue" GridLines="None" Width="335px" > |
<MasterTableView AutoGenerateColumns="False" Width="100%" DataKeyNames="Message,id" > |
<Columns> |
<rad:GridBoundColumn UniqueName="name" SortExpression="name" ItemStyle-Font-Size="Medium" Groupable="False" HeaderText="name" DataField="name" > |
</rad:GridBoundColumn> |
<rad:GridBoundColumn DataField="Message" ItemStyle-Font-Size="Medium" Groupable="False" UniqueName="Message" SortExpression="Message" HeaderText="Message" > |
</rad:GridBoundColumn> |
<rad:GridTemplateColumn UniqueName="delete" AllowFiltering="False" > |
<ItemTemplate> |
<asp:button ID="del_lnk" runat="server" Text="Inactivate" OnClick="Delete_Section" /> |
</ItemTemplate> |
<ItemStyle HorizontalAlign="Left" /> |
</rad:GridTemplateColumn> |
<rad:GridBoundColumn DataField="id" UniqueName="id" Visible="false"></rad:GridBoundColumn> |
</Columns> |
<GroupByExpressions > |
<rad:GridGroupByExpression > |
<SelectFields > |
<rad:GridGroupByField FieldAlias="no" FieldName="no" HeaderText="Number" /> |
</SelectFields> |
<GroupByFields> |
<rad:GridGroupByField FieldAlias="no" FieldName="no" HeaderText="Number" /> |
</GroupByFields> |
</rad:GridGroupByExpression> |
</GroupByExpressions> |
<RowIndicatorColumn Visible="False"> |
<HeaderStyle Width="20px" /> |
</RowIndicatorColumn> |
<ExpandCollapseColumn Resizable="False" Visible="False"> |
<HeaderStyle Width="20px" /> |
</ExpandCollapseColumn> |
</MasterTableView> |
<ClientSettings EnablePostBackOnRowClick="true"></ClientSettings> |
</rad:RadGrid> |
I know ican use detailtable/ParentTableRelation is there any other simple way i can just add delete button to Groupfield
Thanks
Kavya