Hi all,
I wonder if I am doing something "wrong" here...
I have a relatively simple form with one RadAjaxPanel, a few rad or ASP controls all within the panel and a button.
I saw the warnings about RadAjaxManager and RadAjaxPanel but there is no RadAjaxManager on my page.
When I press the button a first time, it goes to the server (Ajax request) to fetch some more information and then ask confirmation from the end user via some javascript injected with
RadAjaxPanel1.ResponseScripts.Add("AskConfirmation();");
The user gets correctly a radprompt dialog.
When he presses "OK", I set a hiddenfield to "1" and fires the click() method on the same button.
However, from that point on, no more request seems to work and I get the error
Error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500
I tried to debug on the server side but I can't hit any breakpoint even break all does not work.
Am I doing something drastically wrong by firing a button from within an injected javascript?
Many thanks
Eric
I wonder if I am doing something "wrong" here...
I have a relatively simple form with one RadAjaxPanel, a few rad or ASP controls all within the panel and a button.
I saw the warnings about RadAjaxManager and RadAjaxPanel but there is no RadAjaxManager on my page.
When I press the button a first time, it goes to the server (Ajax request) to fetch some more information and then ask confirmation from the end user via some javascript injected with
RadAjaxPanel1.ResponseScripts.Add("AskConfirmation();");
The user gets correctly a radprompt dialog.
When he presses "OK", I set a hiddenfield to "1" and fires the click() method on the same button.
However, from that point on, no more request seems to work and I get the error
Error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500
I tried to debug on the server side but I can't hit any breakpoint even break all does not work.
Am I doing something drastically wrong by firing a button from within an injected javascript?
Many thanks
Eric