2009-09-29 63 views

回答

1

這裏有一些教程和文章,請通過他們去:

Creating Composite Custom Control

Custom and User Controls (O'Reilly Programming ASP.Net)

MSDN Article: Creating Custom ASP.Net Server Control

編輯: - 請有關與htmlselect問題在asp.net論壇閱讀this threadOnServerChange事件詳述如下this MSDN article

如果可能的話請考慮使用ASP.net DropDownList

+0

我已經創建了自定義複合控件,它的功能是根據htmlinputbox中的字符過濾htmlselectbox。 它運作良好,並且當控件應用於應用程序時,我無法描述c#中html選擇框的onserverchange事件的事件,並且我能夠在JavaScript中爲該控件觸發onclick事件。 – subash 2009-10-01 04:48:56

相關問題