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

Ajax in a RadWindow

4 Answers 61 Views
Window
This is a migrated thread and some comments may be shown as answers.
George
Top achievements
Rank 1
George asked on 05 Sep 2008, 08:51 PM
I need someone to enlighten me, since typing in the words "RadWindow Ajax" into Telerik's Search engine coughs up a server error...

I have a simple RadWindow with only a couple of controls (currently).  I have an ajax manager on the page the window loads, and I setup a few controls to interact with each other using ajax.

For some reason, when I run this page in a RadWindow, whenever an ajaxified control is used, the whole window goes blank while it updates whatever it needs to update, and it "appears" that the parent page does a postback.

running the page the window uses in the browser works fine, by the way.

Anyone know what might be causing this behavior?  As I said, I don't even have anything complicated on the form.  A button a checkbox and a checkbox, that's it.  Just a test, and I get these results

Any help would be great!!!!!

Thanks,
Kuba

4 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 08 Sep 2008, 10:55 AM
Hello Kuba,

I tried to reproduce the problem locally but to no avail. Can you please check the attached sample and let me know if I am missing something?




Sincerely yours,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
George
Top achievements
Rank 1
answered on 08 Sep 2008, 05:17 PM
The only thing I see you missed was that the calling page is also ajaxified.  However, I don't believe this is a Telerik problem now.

This is a DNN project, and when I ripped the code out of DNN and ran it on it's own, the problem did not occur.  I'm running 4.8.4 which I believe is the current version (as of this writing), so I will look a little closer at DNN. 

Another module on the calling page could be giving me the trouble, but I guess I can't complain, most of the Telerik controls now work proprerly in DNN, where a year ago, only a handful did.

Thanks for the help!

Kuba
0
Georgi Tunev
Telerik team
answered on 09 Sep 2008, 05:29 AM
Hello again Kuba,


I hope that the problem will be solved quickly. By the way, the easiest way in scenario like yours, to check if the problem is in RadWindow or not is to replace the RadWindow control with a standard IFRAME. RadWindow is based on an IFRAME and both controls handle the content page in the same manner.



Best wishes,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
George
Top achievements
Rank 1
answered on 10 Sep 2008, 06:30 AM
Thanks for the information...

However, here is what the problem was...  It was my own fault due to the dreaded "cut and paste".  I have to use the RadAjaxManagerProxy quite often in DNN because of multiple modules using the RadAjaxManager on a single page.

I, in my infinite wisdom needed to cut some code out of a module, and put it in a RadWindow.  Not thinking, I didn't change the RadAjaxManagerProxy to a RadAjaxManager.

Once I did that, I was fine.  Also, in my earlier post, when I said I took it out of the RadWindow, I was putting it BACK into the DNN module, so, of course it worked with the proxy.

Sometimes you just need to tell other people your problem to figure it out yourself!! :)

Thanks!!!

Kuba
Tags
Window
Asked by
George
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
George
Top achievements
Rank 1
Share this question
or