This is a migrated thread and some comments may be shown as answers.

Remote Validation is Not Working with Ajax binding

1 Answer 92 Views
Grid
This is a migrated thread and some comments may be shown as answers.
ram
Top achievements
Rank 1
ram asked on 15 Nov 2014, 07:29 AM
Hi Team,
             I have two issues with Ajax Binding
                    1) Remote Validation is Not Working with Ajax Binding ( Works With Server Binding) .
                    2) ForiegnKey Column (combo box) Values return null to Controller if i doesn't change combobox value . ( Works With Server Binding)

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 18 Nov 2014, 02:27 PM
Hello Ram,

I am not sure I understand what you mean by remote validation, but in case you are using an server calls in a custom validation rules, then I suggest using synchronous instead of asynchronous calls. That would not allow the validation function to finish before the request's response is received. Let me know if that is not what you mean and if possible - share some code snippets, so we can investigate. 
Sending null if no change was made is expected in that case, because otherwise the underlying dataItem (which is not present in server binding) will not be updated. 

Regards,
Alexander Popov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
ram
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or