Hi All,
I am porting an ASP.NET application, which uses many Telerik AJAX controls including RadUpload, to the Microsoft MVC platform.
In general, after sweating a bit RadUpload is configured and functions as expected with one minor exception:
The legacy code runs its own validation within an event handler upon a server-side ValidatingFile event. However, under MVC this event is never fired. From your blog published more than a year ago I learnt why the old mechanism would not work; also that blog promised in future "a full-blown ASP.NET MVC application built on top of RadControls for ASP.NET Ajax".
So my questions are:
Thank you in advance for your assistance.
-- Best regards
I am porting an ASP.NET application, which uses many Telerik AJAX controls including RadUpload, to the Microsoft MVC platform.
In general, after sweating a bit RadUpload is configured and functions as expected with one minor exception:
The legacy code runs its own validation within an event handler upon a server-side ValidatingFile event. However, under MVC this event is never fired. From your blog published more than a year ago I learnt why the old mechanism would not work; also that blog promised in future "a full-blown ASP.NET MVC application built on top of RadControls for ASP.NET Ajax".
So my questions are:
- Does such application exist nowadays and is the server-side validation issue resolved in it? By the server-side validation I refer to validation that would be executed before the corresponding View is destroyed and execution flow is back within the Controller.
- If I executed client-side validation in javascript, would such javascript code be able to validate the size of a selected file?
- If the integrated validation used, would be there a way to provide custom error messages on validation failure?
Thank you in advance for your assistance.
-- Best regards