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

Update panels ajax manager and JavaScript

4 Answers 81 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 18 Jun 2009, 02:33 PM
i have this code that i cant get to run it calls a server-side function i have in the script manager EnablePageMethods set to true so is there a reason that it wouldnt work
<script type="text/javascript">  
        function RowSelected(sender, args)   
        {    
            var dataKeyValue = args.getDataKeyValue("Engineer");  
            document.getElementById("txtEngineer").value = dataKeyValue;  
        }  
    </script> 

thanks for your help on this

4 Answers, 1 is accepted

Sort by
0
Kevin
Top achievements
Rank 1
answered on 18 Jun 2009, 03:28 PM
im also getting this
microsoft jscript runtime error: sys.invalidoperationexception: cannot serialize object with cyclic reference within child properties.

and an out of memory erro with the javascript
0
Iana Tsolova
Telerik team
answered on 22 Jun 2009, 07:48 AM
Hello Kevin,

I assume that the client does not work due because of the thrown error. It seems that there is an issue with the server-side method. I suggest that you review it again and follow the error message in order to troubleshoot it. You can disable/remove ajax while debugging.

Kind regards,
Iana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Kevin
Top achievements
Rank 1
answered on 22 Jun 2009, 09:15 AM
I have reviewed it many times since i posted the issue and have removed the reinserted the ajax and im still getting the error

Many thanks for you help on this
0
Iana Tsolova
Telerik team
answered on 22 Jun 2009, 11:15 AM
Hello Kevin,

In this case, I suggest that you try sending a sample illustrating your scenario and replicating the error. I could debug it then locally and try finding a resolution for you.

All the best,
Iana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Ajax
Asked by
Kevin
Top achievements
Rank 1
Answers by
Kevin
Top achievements
Rank 1
Iana Tsolova
Telerik team
Share this question
or