Hi KatieNgoc,
For next time, when login again to keep selected radio text, you need to save the selected values in database.
When relogin again fetch the selected values and set the selected value.
Like you did for CheckBox.
Code
C#
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
string radio1 = "1"; // Fetch the data based on the LoggedIn user.
string radio2 = "2"; // Fetch the data based on the LoggedIn user.
RadioButtonList1.SelectedValue = radio1;
RadioButtonList2.SelectedValue = radio2;
}
}
VB.Net
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load
If Not IsPostBack Then
Dim radio1 As String = "1" ' Fetch the data based on the LoggedIn user.
Dim radio2 As String = "2" ' Fetch the data based on the LoggedIn user.
RadioButtonList1.SelectedValue = radio1
RadioButtonList2.SelectedValue = radio2
End If
End Sub