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

Url rewrite + Ajax Panel

3 Answers 64 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
auderis
Top achievements
Rank 1
auderis asked on 27 Jul 2008, 10:19 AM
Ive created a Ajax Panel. And there is no error everything works fine. But when i'm using my URL-Rewriter the Ajax Panel stops working.

How can i fix this problem?

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 28 Jul 2008, 05:31 AM
Hello auderis,

Do you get the same error with plain ASP.NET AJAX UpdatePanel?

All the best,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
auderis
Top achievements
Rank 1
answered on 28 Jul 2008, 05:51 AM
unfortunately i get the same error with plan UpdatePanel
0
auderis
Top achievements
Rank 1
answered on 28 Jul 2008, 06:05 AM
Ive used my google skills and found this:

Sys.Application.add_load(function()
{
    var form = Sys.WebForms.PageRequestManager.getInstance()._form;
    form._initialAction = form.action = window.location.href;
});

After ive added that javascript @ the page i using Ajax it worked.

Maby it's a temporary solution i dont know but it's working.
Tags
Ajax
Asked by
auderis
Top achievements
Rank 1
Answers by
Vlad
Telerik team
auderis
Top achievements
Rank 1
Share this question
or