Currently when the user clicks on [Go], it does a postback, which validates the form but might return an alert about missing required fields.
If validation error, then the selected files are lost in FileUpload after the postback (due to HTTP limitation, OK).
What is another approach to this, so that I can validate via AJAX and display to the user, and if validation is successful, automatically do a postback (with the files from FileUpload)?
I experiemented with AJAX the button, and got another function from another post for RadAlert.
How do I do the 2nd part where if validation is successful, automatically do a postback (with the files from FileUpload)?
Public Sub ShowRadAlert(ByVal p_msg As String, ByVal p_title As String, ByVal p_controlClientId As String)
<telerik:AjaxSetting AjaxControlID="btnGo">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="btnGo">
</telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>
If validation error, then the selected files are lost in FileUpload after the postback (due to HTTP limitation, OK).
What is another approach to this, so that I can validate via AJAX and display to the user, and if validation is successful, automatically do a postback (with the files from FileUpload)?
I experiemented with AJAX the button, and got another function from another post for RadAlert.
How do I do the 2nd part where if validation is successful, automatically do a postback (with the files from FileUpload)?
Public Sub ShowRadAlert(ByVal p_msg As String, ByVal p_title As String, ByVal p_controlClientId As String)
<telerik:AjaxSetting AjaxControlID="btnGo">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="btnGo">
</telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>