The moment the window opens it directly is closed automatically again.
As seen here: http://hama.ontwikkelruimte.nl
Put something in the shopcart and go to Warenkorb, try to login, there is the problem.
3 Answers, 1 is accepted
Please have a look into the sample code snippet which works fine at my end. Try to replicate the issue in the provided code or please provide a sample code for further help.
I created testpage on http://hama.ontwikkelruimte.nl/test.aspx
with following code:
Please bear in mind that the OpenerElements must be ClientIDs so set from CodeBehind
I hope you can see the difference between the version opened with the RadButton and the native ASP Button.
Please get back to me...
Generally, using the OpenerElementID property should prevent the postback because it cancels the click event. In this case, the RadAjaxPanel captures the button click in order to make the partial postback, so a postback still occurs. To avoid that, you can add a simple script to do the job, for example:
On a side note, I also advise that you examine this article to see how to use the RadWIndow's ContentTemplate with AJAX: http://www.telerik.com/help/aspnet-ajax/window-ajaxifying.html. It seems to me that you need the RadAjaxPanel in the RadWindow's ContentTemplate, not around the entire control and the button. Moving it there will let you again use the OpenerElementID property because the opener button will not be ajax-enabled.
Regards, Marin Bratanov
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.