I recently upgraded to the Q3 2010 version and noticed all my popup windows stopped working. What I found out was that when I open a window that has url arguments that are encoded, the radwindowmanager was decoding them when setting the url of the iframe. This caused my windows to break. For example, when I opened a dialog window I would pass it the path, an Id value and a url of where to redirect the parent page to. The the redirection url was encoded since it was a url itself. Here is an example:
/myproject/popups/page.aspx?id=1&url=%2fmyproject%2fotherpage.aspx%3fm%3dquestion%26id%3d
What happens is when the window opens, the IFrame's url is this instead:
/myproject/popups/page.aspx?id=1&url=/myproject/parentpage.aspx?m=question&id=
The encoded part of the query string has an "id=" parameter that interferes with the id value from the beginning of he query string. So in this scenario, I get a blank ID value on the server side since the ID is specified twice and the last one wins. I need the encoding to be preserved so these conflicts don't arise. Any suggestion how to fix this? This was working in previous versions before Q3.
/myproject/popups/page.aspx?id=1&url=%2fmyproject%2fotherpage.aspx%3fm%3dquestion%26id%3d
What happens is when the window opens, the IFrame's url is this instead:
/myproject/popups/page.aspx?id=1&url=/myproject/parentpage.aspx?m=question&id=
The encoded part of the query string has an "id=" parameter that interferes with the id value from the beginning of he query string. So in this scenario, I get a blank ID value on the server side since the ID is specified twice and the last one wins. I need the encoding to be preserved so these conflicts don't arise. Any suggestion how to fix this? This was working in previous versions before Q3.