Hi Team,
I'm not family with Radcontrol. I'm trying and using it. Currently i have face with this problem. We can be run js function from codebehind. But when i call rad window function, it cannot be fire.
Here is my sample code, i refer from rad window sample code.
JS
CS
Kindly, pls help to me. i need urgent.
One more thing, when i call above function 1st time i saw js error in IE. And then 2nd i don't see js error. What wrong it?
Best Regards,
I'm not family with Radcontrol. I'm trying and using it. Currently i have face with this problem. We can be run js function from codebehind. But when i call rad window function, it cannot be fire.
Here is my sample code, i refer from rad window sample code.
JS
function
openWin(url,winid)
{
var
_contparameter=
''
;
switch
(winid)
{
case
"_radWinItem"
:
_contparameter=document.getElementById(
'<%=this._itms.ClientID%>'
).value;
break
;
case
"_radWinCustomer"
:
_contparameter=
''
;
break
;
default
:
}
var
oWnd = radopen(url+_contparameter, winid);
}
CS
protected
void
TextBox1_TextChanged(
object
sender, EventArgs e)
{
ClientScript.RegisterStartupScript(GetType(),
"Javascript"
,
"javascript: openWin('item.aspx','_radWin'); "
,
true
);
}
Kindly, pls help to me. i need urgent.
One more thing, when i call above function 1st time i saw js error in IE. And then 2nd i don't see js error. What wrong it?
Best Regards,