Click here to Skip to main content
15,885,100 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am new in mvc,
i want to enable and disable button from controller based on condition i get from database.

even i want to hide and visible some textboxes and button based on condition but through controller.
Posted
Comments
ArunRajendra 12-Jan-15 4:31am    
What have you tried?

1 solution

Simply you can make ajax call to controller and write jQuery on success of that method to show/ hide controls as per the results came from database.

There can me multiple scenarios, so first give the details what already you have coded or share your detailed requirements. So that we can help you better.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900