code behind page

  • Thread starter Thread starter Raymond Cheung
  • Start date Start date
R

Raymond Cheung

On the aspx page, I have the following code

<asp:Radiobutton id=heis Text="Yes" Groupname="idiot"
checked="true" runat="server" />
&nbsp&nbsp&nbsp <asp:Radiobutton id=heisnot Text="No"
Groupname="idiot" runat="server" />

How do I keep track this radiobutton on the code behind
page in vb?
 
Right after the Inherits page, use the following:

Protected WithEvents heis As
System.Web.UI.WebControls.radiobutton
Protected WithEvents heisnot As
System.Web.UI.WebControls.radiobutton
 
Back
Top