Hello everybody,
I'm in the process of enhancing our portal to use the ajax capabitilies of DotNetNuke. So far, the process has been going on smoothly, mainly consisting of adjustments in my user controls to accomodate for the special uses of the ScriptManager.
However, i've been encountering the following problem; previously, when an exception is raised in my module, i usually redirected the user on a page providing debug information (when the user is a developper) or on a page providing feedback to the user (something along the lines of "we're aware an error popped up, we've logged it and it's going to be processed to avoid its reproduction")
But since Ajax doesn't care about these redirections, what's happening is that the Ajax Framework returns the whole html webpage and tries to parse it. What i would like to do is to be able to either redirect the whole page through Ajax; another option could be to popup the error message in a modalbox, but i would like it to be as smooth as possible. What i mean by that is that i would like not to change too many things. In both cases, another question arises: is there a way to add a handler on server side errors when using the Ajax mode of DotNetNuke.
Thank you for reading, and don't hesitate to ask for more details; i'm really stumped by a lack of details here...
Samy