I have three radio buttons like the following code in my MVC project.

I need to check one of them when user come back to the page through a back button in my application.

I already save the user's response in Session (like Session ("MyField") = model.MyField)

Can you please help me how I can do that?

@Html.RadioButtonFor(model => model.MyField, "Yes")
@Html.RadioButtonFor(model => model.MyField, "No")
@Html.RadioButtonFor(model => model.MyField, "NA")

Related posts

Recent Viewed