asp.net C#コードにサードパーティのドロップダウンツリービューがあります
<ct:ASDropDownTreeView ID="astvMyTree" runat="server"... />
コードビハインドでそれに焦点を当てたいと思います。明らかに、C# control.Focus() は Windows コントロールでのみ機能します。私はジャバスクリプトを試しました
ScriptManager.RegisterStartupScript(Page, this.GetType(), "control_focus", "ASDropDownTreeView.focus();", true);
しかし、それも機能しません。サードパーティのコントロールを JavaScript で宣言する方法はありますか、それとも html および Windows コントロールでのみ機能しますか?