How to place a Raddiobutton as Checked on the Razor Page

Asked

Viewed 7 times

1

I have the following question, I want to leave this radiobutton as checked, but it is not checked, I tried to put checked(true), but it does not work, follow the code:

@Html.Radiobuttonfor(m => m.Search,"1")

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.