Garima Bansal

Garima Bansal

  • 1.1k
  • 669
  • 38.6k

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)