TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
sandeep kodepaka
NA
106
210k
radiobutton to datagrid
Dec 22 2010 12:29 PM
Hi frnz
i have group of 3 radio buttons, if i select one of those , that particular data should be displayed on datagrid, can anyone please help me out
below is the code
<td style="width: 284px"><asp:RadioButtonList ID="RadioButtonList1" runat="Server" Height="74px">
<asp:ListItem Text="Departmentwise" Value="Departmentwise"></asp:ListItem>
<asp:ListItem Text="Categorywise" Value="Categorywise"></asp:ListItem>
<asp:ListItem Text="Gradewise" Value="Gradewise"></asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<asp:GridView ID="dgApplicable"
runat="server" AutoGenerateColumns="False" Width="136%"
AllowSorting="True" AllowPaging="True" PageSize="20" onrowediting="dgApplicable_RowEditing"
onpageindexchanging="dgApplicable_PageIndexChanging" Height="127px"
style="margin-right: 75px"
onselectedindexchanged="dgApplicable_SelectedIndexChanged" >
<Columns>
<asp:BoundField DataField="Code" HeaderText="Code" SortExpression="Code ASC"></asp:BoundField>
<asp:BoundField DataField="Category" HeaderText="Category"></asp:BoundField>
</Columns>
</asp:GridView>
Reply
Answers (
4
)
how to disable all items in dropdownlist except top one record.
how to move selected recors from one datagrid to another datagrid