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

Sys.WebForms.PageRequestManagerServer.ErrorException

3 Answers 55 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 1
Andy asked on 04 Jan 2009, 01:07 AM

Using the below code, wired to treeview client side node click event, I get the Sys.WebForms.PageRequestManagerServer.ErrorException javascript error.

The alert pops up as expected, but the ajax request fails...


function

 

ClientNodeClicked(sender, args)

 

{

alert(

"ClientNodeClicked!");

 

 

var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");

 

ajaxManager.ajaxRequestWithTarget(

"<%= RadTreeView1.UniqueID %>","");

 

 

}

3 Answers, 1 is accepted

Sort by
0
Accepted
Iana Tsolova
Telerik team
answered on 06 Jan 2009, 03:56 PM
Hi Andy,

Could you please provide more information on your scenario? Could you try debugging and see if the error is thrown before or after the ajaxRequestWithTarget() method call? Please ensure that there is no server errors in your server code too.

If you could send us a runnable sample replicating the error, would help a lot in finding a resolution.

Let me know how it goes.

Best wishes,
Iana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Andy
Top achievements
Rank 1
answered on 06 Jan 2009, 11:23 PM
re: Please ensure that there is no server errors in your server code too.

My apologies - there was a server error. My code opened a file, but didn't close it. Susequent calls could not access this file, hence the error.

My problems so far, I think, have been a bit of general confusion about how all things work together - it's starting to all make sense now after absorbing docs, articles etc...

Thanks.
0
Iana Tsolova
Telerik team
answered on 07 Jan 2009, 12:02 PM
Hi Andy,

I am happy to hear you found a solution to the issue.

I any questions arise, do not hesitate to write again.

All the best,
Iana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Ajax
Asked by
Andy
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Andy
Top achievements
Rank 1
Share this question
or