Hi,
I have a asp.net page in which I am want to pass parameters to a rad window. I want to access that parameter in the rad window page_load method on the server side. I am not able to able to access this value as it is at the very initial stages to load. But, I can access the parameter at client level by writing onload method on body tag like this:
<script language="javascript" type="text/javascript">
function GetRadWindow()
{
var oWindow = null;
if (window.radWindow)
oWindow = window.radWindow;
else if (window.frameElement.radWindow)
oWindow = window.frameElement.radWindow;
return oWindow;
}
function receiveArg()
{
var currentWindow = GetRadWindow();
alert(currentWindow.argument);
}
</script>
</head>
<body onload="receiveArg();">
<form id="form" runat="server">
But, I dont want to do this at the client level. I require this value in page load at server side as I need to do some business logic over it.
Is there any way to get this????
Thanks,
Mahesh
I have a asp.net page in which I am want to pass parameters to a rad window. I want to access that parameter in the rad window page_load method on the server side. I am not able to able to access this value as it is at the very initial stages to load. But, I can access the parameter at client level by writing onload method on body tag like this:
<script language="javascript" type="text/javascript">
function GetRadWindow()
{
var oWindow = null;
if (window.radWindow)
oWindow = window.radWindow;
else if (window.frameElement.radWindow)
oWindow = window.frameElement.radWindow;
return oWindow;
}
function receiveArg()
{
var currentWindow = GetRadWindow();
alert(currentWindow.argument);
}
</script>
</head>
<body onload="receiveArg();">
<form id="form" runat="server">
But, I dont want to do this at the client level. I require this value in page load at server side as I need to do some business logic over it.
Is there any way to get this????
Thanks,
Mahesh