0
Answer

MVC dynamic control creation with validation?

Marutharasu P

Marutharasu P

9y
645
1
Hello friends,
 
Good day...
 
I need to render input parameter control dynamically based on some configuration.  The below are sample control in MVC,
 
1.) File upload Control
2.) Date Control
3.) Text Control
4.) DateRange Control 
 
Upto this level I have completed.
 
I need to validate all the form control which is available in "form" by using ajax call and How can I get the values from view to controller with file upload control values.
 
Can anyone give me some ideas to do?
 
Thanks in advance.