Here is my HTML Code
<script type="text/javascript">
function openWin(url)
{
var oWnd = radopen(url, "RadWindow1");
oWnd.setSize(500,500);
//set a function to be called when RadWindow is closed
oWnd.add_close(OnClientClose);
}
function OnClientClose(oWnd)
{
var returnValue = oWnd.argument.retValue;
var txt1 = document.getElementById("txt");
txt1.value = returnValue;
}
</script>
......
<input id="txt" type="text" />
________ Code Behind
i tried using:
public string Text
{
get
{
HtmlInputText txt = new HtmlInputText();
txt = (HtmlInputText)Request.Form["txt"]; //doesnt works
string = Request.Form["txt"].ToString() //returns null
return txt.Value;
}
set
{
this.txt.Value = value;
}
}
how can i get a reference to the control????
ASKER
The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.
TRUSTED BY
ASKER
function OnClientClose(oWnd)
{
var returnValue = oWnd.argument.retValue;
var txt1 = document.getElementById("t
txt1.value = returnValue;
this function obtains the retun value of other form and assigned to the control ..... with the runat, it doesnt assign anything.
thats the problem