I have this Code in "details.aspx":
<asp:radiobuttonlist id="UserType" runat="server" >
<asp:ListItem Value="reular">reular</asp:ListItem>
<asp:ListItem Value="advance">reular</asp:ListItem>
</asp:radiobuttonlist>
In "details.aspx.
vb" I have this code
Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim number as integer= request.form("numType")
If number="1" then
' here come the mising code
else
' here come the mising code
end if
END SUB
In the mising code I want to write that if numbet="1" so I want that in my radiobuttonlist, the first Radio will be checked and Else the seconed will be checked.
How to do it???