Remote Validation is Not Working with Ajax binding

2 posts, 0 answers
  1. ram
    ram avatar
    5 posts
    Member since:
    Oct 2014

    Posted 15 Nov 2014 Link to this post

    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)
  2. Alexander Popov
    Admin
    Alexander Popov avatar
    1444 posts

    Posted 18 Nov 2014 Link to this post

    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.

     
Back to Top