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

[Solved] Error When Clicking Cancel in In-line Editing

1 Answer 11 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nicole
Top achievements
Rank 1
Nicole asked on 15 Nov 2011, 03:05 PM

Hi,
I have been running into a JavaScript error when I am using in-line editing. The error only occurs after I have clicked the update button and returned the new GridModel. I have tried using the sendValues method, resetting the data in JavaScript and using that data set with the dataBind method to update the data in the grid, and sending the information needed for the update through my own Ajax call. In all cases when I click the cancel button, I receive an error saying that 'data' is undefined in the following function:

        function anonymous(data) {

                 return data.ClientId;

         }

I was wondering what might be causing this error, and how I might be able to restore the cancel buttons functionality without recreating the whole grid.

Thanks

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 16 Nov 2011, 09:38 AM
Hello Nicole,

I'm afraid the provided information is not sufficient in order to track the cause for the issue you have described. Is there any chance that you are using a newer version of jQuery (1.6.x+) and an older version of our components? If this is the case please download the latest internal build and check if it resolves the issue.

If you continue to experiencing difficulties please provide a small sample in which the behavior can be observed locally.  

All the best,
Rosen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
Tags
Grid
Asked by
Nicole
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or