Garima Bansal

Garima Bansal

  • 861
  • 681
  • 39.8k

hide RadioButtonFor in view

Jan 3 2024 7:56 AM

I want to hide RadioButtonFor 

 @Html.RadioButtonFor(model => model.recommend, "RA", htmlAttributes: new { @id = "Roflag2", @onchange = "onchangetype2DL('0')" }) Call for Addln.Particulars   

 

When i simply comment above code then my submit button is not working.

How can i do this?


Answers (5)