Re: Server side validation in ashx or controller in MVC 2

  •  09-26-2010, 9:09 PM

    Re: Server side validation in ashx or controller in MVC 2

    Hi,
     
    In ashx , you can throw an exception , the browser javascript will show alert for that message.
     
    If you validate the file in controller action , you can do more logic for the UI.
     
    Regards,
    Terry
View Complete Thread