I'm currently working on using RadWindows for the first time.
I've been able to figure that using the "ClientShow" I can pass an argument to the RadWindow and catch it in the window on the client side, However I need this on the server side once I get here.
Here's what I'm using on the client side for the parent page:
I'm able to run this client code on the RadWindow and get the argument:
Now on the server, I've tried Load, PreRender, etc. hoping that the txtInput will be filled and it's always blank.
How can I get the currentWindow.argument value in the server side?
I've been able to figure that using the "ClientShow" I can pass an argument to the RadWindow and catch it in the window on the client side, However I need this on the server side once I get here.
Here's what I'm using on the client side for the parent page:
function clientShow(sender, eventArgs) { var tree = $find("<%= tvwBidPackageFolders.ClientID %>"); var node = tree.get_selectedNode(); if (node) { var attributes = node.get_attributes(); var attribute1 = attributes.getAttribute("fid"); sender.argument = attribute1; } }I'm able to run this client code on the RadWindow and get the argument:
function pageLoad() { txtInput = $get('txtUserInput'); var currentWindow = GetRadWindow(); txtInput.value = currentWindow.argument; }Now on the server, I've tried Load, PreRender, etc. hoping that the txtInput will be filled and it's always blank.
How can I get the currentWindow.argument value in the server side?