Hi Damien,
I do have a scriptmanager reference.
here is my code:
Dim strJS As String = ""
'other Javascript stuff that already works.........
strJS += "function " + Me.ClientID.ToString + "_pageLoad() { "
strJS += "$find('" + Me.ddeDDLAvailableTables.BehaviorID + "').unhover = doNothing; "
strJS += "$find('" + Me.ddeDDLAvailableTables.BehaviorID + "')._dropWrapperHoverBehavior_onhover(); "
strJS += "}"
strJS += "function doNothing() {} "
strJS += "Sys.Application.add_load(" + Me.ClientID.ToString + "_pageLoad); "
If (Page.ClientScript.IsClientScriptBlockRegistered(strJSName) = False) Then
ScriptManager.RegisterClientScriptBlock(Page, GetType(DDLAvailableTables), strJSName, strJS, True)
End If
The DropDownExtender is in a usercontrol.
Thanks for helping