Hi,
The OK button only closes the alert and executes other code if a callback function is defined. Thus, since no callback is defined, it is not likely that the alert is actually causing the problem.
What I can advise is that you check for the following things:
- if there is an OnClientClose handler set to the RadWindowManager that opens the alert, it will also be executed when the alert closes. Thus, there may be code that is causing the problem (e.g., initiating a postback).
- if you have modified the AlertTemplate a JS error may be thrown or a postback initiated, so you would need to check and fix that if this is the case.
- it is possible that the code that calls the alert initiates a postback that disposes the RadWindow (and thus, closes it), but since the alert is modal, you only see it is gone when you close it. It is likely that you will need to perform a partial postback or exclude the RadWindow from the partial postback.
I hope this helps you fine the issue.
Regards,
Marin Bratanov
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.