Hello Telerik Team,
In my project I need to open a new page from source page. On the target page I need to access Page.PreviousPage property. This can be done just when you specify PostBackURL attribute on e.g. asp:button control.
I call openning target page from client side as:
<
asp:Button
ID
=
"Button2"
OnClientClick
=
"OpenAttachmentWindow(); return false;"
runat
=
"server"
></
asp:Button
>
function OpenAttachmentWindow() {
var wnd = $find("<%= AttachmentWindow.ClientID %>");
wnd.show();
}
<
telerik:RadWindowManager
ID
=
"RadWindowManager2"
runat
=
"server"
>
<
Windows
>
<
telerik:RadWindow
runat
=
"server"
Width
=
"560px"
Height
=
"440px"
NavigateUrl
=
"~/Pages/AttachmentWindow.aspx"
ID
=
"AttachmentWindow"
Modal
=
"true"
ReloadOnShow
=
"true"
Animation
=
"Fade"
Title
=
"Čakajte"
>
</
telerik:RadWindow
>
</
Windows
>
</
telerik:RadWindowManager
>
The question is how can I open target page from source page via RadWindow and apply PostBackURL or Server.transfer from server side which allows me to access Page.PreviousPage property.
I've found some useful links to my needs on the web.
http://www.dotnetcurry.com/ShowArticle.aspx?ID=71
http://ramanisandeep.wordpress.com/2010/01/09/access-viewstate-across-pages-in-asp-net/
Thank you for your help...
Regards Vasssek