Hello,
Here is my scenario.
1. I am using this control as part of webpart (for MOSS integration). I've autopostbacks disabled on this control. I am trying to spit some javascript to be used at runtime on the blur event of the combobox. This is throwing error saying this script is not found even though i've added that script to the page. I can see this script on the page (View source). I'm using this snippet for that.Pleaselet me know how can i resolve this.
Here is my scenario.
1. I am using this control as part of webpart (for MOSS integration). I've autopostbacks disabled on this control. I am trying to spit some javascript to be used at runtime on the blur event of the combobox. This is throwing error saying this script is not found even though i've added that script to the page. I can see this script on the page (View source). I'm using this snippet for that.Pleaselet me know how can i resolve this.
private void SpitWrapperJavascriptToPage()
{
string strGetSelectedNodes = "function companyblur(sender, eventArgs)";
strGetSelectedNodes += " {ctlCompany_onBlur();}";
Page.ClientScript.RegisterStartupScript(typeof(RadTreeView), "wrapperCompany", strGetSelectedNodes, true);
}
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
SpitWrapperJavascriptToPage();
cmbCompany.OnClientBlur = "companyblur";
}