1
Answer

How to make enable and disable for controls in MVC 5 ?

Asp.Net Hein

Asp.Net Hein

8y
676
1
I want to control my 'Search' button to be enable and disable in MVC.
 
I have two textbox - ( fromdate and todate ). If there is no value in these text textbox, I want to make the button 'Search' to be disable. If there are values in these two textbox, I want to make the button 'Search' to be enable. 
 
If anyone have idea to know how to implement, kindly let me know. Thanks a lot for viewing my question. 

Answers (1)