May 13, 2003 #1 nomi2000 ISP Joined Feb 15, 2001 Messages 676 Location CA hi guys does anyone knows if i can add a Radio buttons in two columns of datagrid? thanks Nouman
May 13, 2003 #2 gmontano IS-IT--Management Joined Aug 7, 2001 Messages 14 Location US use a template column Upvote 0 Downvote
May 13, 2003 Thread starter #3 nomi2000 ISP Joined Feb 15, 2001 Messages 676 Location CA What do u mean by template column? how to set it can u explain it more thanks nouman Upvote 0 Downvote
May 15, 2003 #4 gmontano IS-IT--Management Joined Aug 7, 2001 Messages 14 Location US create a datagrid set autogeneratecolumns to false then use bound columns for the columns you want then for the column you want to have a radio button use <asp:TemplateColumn> <ItemTemplate> <asp:radiobutton ID="radio" Runat="server" /> </ItemTemplate> </asp:TemplateColumn> Upvote 0 Downvote
create a datagrid set autogeneratecolumns to false then use bound columns for the columns you want then for the column you want to have a radio button use <asp:TemplateColumn> <ItemTemplate> <asp:radiobutton ID="radio" Runat="server" /> </ItemTemplate> </asp:TemplateColumn>
May 15, 2003 Thread starter #5 nomi2000 ISP Joined Feb 15, 2001 Messages 676 Location CA thnanks alot but i need it to be run in Windows Form DataGrid Nouman Upvote 0 Downvote