I am working on an MVC application and I have an index view where I pass model from controller to index view. The index action has no parameters. Now On view I have a jquery calendar. I want to change all the data on view when a date is selected. do I need to use different action method for this as current action method doesn’t have parameter. or I can use same ? Please suggest
Share
Sounds like you need a DateTime parameter on that index view. You can then handle the case where it is null in the action: