code behind page

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Raymond Cheung

    #1

    code behind page

    On the aspx page, I have the following code

    <asp:Radiobutto n id=heis Text="Yes" Groupname="idio t"
    checked="true" runat="server" />
    &nbsp&nbsp&n bsp <asp:Radiobutto n id=heisnot Text="No"
    Groupname="idio t" runat="server" />

    How do I keep track this radiobutton on the code behind
    page in vb?
  • Ray Cheung

    #2
    code behind page

    Right after the Inherits page, use the following:

    Protected WithEvents heis As
    System.Web.UI.W ebControls.radi obutton
    Protected WithEvents heisnot As
    System.Web.UI.W ebControls.radi obutton


    [color=blue]
    >-----Original Message-----
    >On the aspx page, I have the following code
    >
    ><asp:Radiobutt on id=heis Text="Yes" Groupname="idio t"
    >checked="tru e" runat="server" />
    > <asp:Radiobutto n id=heisnot Text="No"
    >Groupname="idi ot" runat="server" />
    >
    >How do I keep track this radiobutton on the code behind
    >page in vb?
    >.
    >[/color]

    Comment

    Working...