A RadioButtonList in a GridView

A GridView is to include a RadioButtonList in its presentation. The options are to be populated as fixed options, not taken from a database. The example below takes values from the DotNetNuke Lists and displays them as a radio button list. In the presentation file there is a GridView, called gdvMembership <asp:GridView ID=”gdvMembership” runat=”server” AllowPaging=”false” […]

Read More… from A RadioButtonList in a GridView

LinkButton Handles OnClick Equivelent in C#

To handle a Linkbutton onclick in VB.NET the LinkButton is declared and a handler sub declared: <asp:linkbutton id=”cmdAdd” runat=”server” ResourceKey=”Add” BorderStyle=”none” CausesValidation=”true” /> Private Sub cmdAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdAdd.Click ::: ::: End Sub C# doesn’t support the VB.net handles on click, the function is simply declared. The LinkButton declaration […]

Read More… from LinkButton Handles OnClick Equivelent in C#