Re: [問題] AjaxControlToolkit的ComboBox使用問題...

看板Web_Design作者 (GN)時間15年前 (2010/09/04 16:07), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串2/3 (看更多)
自己回個文... 原來要用AjaxControlToolkit套件還必須使用裡面的ToolkitScriptManager控制項 才不會發生這種錯誤,現在遇到另外一個問題了...就是ComboBox裡面有個 OnSelectedIndexChanged的事件,執行都出現下面這種錯誤訊息,不知道有沒有人遇過!! 「CS1061: 'ASP.webform1_aspx' 不包含 'ComboBox1_SelectedIndexChanged' 的定義, 也找不到擴充方法 'ComboBox1_SelectedIndexChanged' 來接受型別 'ASP.webform1_aspx' 的第一個引數 (您是否遺漏 using 指示詞或組件參考?)」 ※ 引述《a2975313 (GN)》之銘言: : 剛從網路上抓了AjaxControlToolkit套件下來使用,執行的時候都會出現下面那三種錯誤 : ,大家有沒有什麼解決辦法? : 1. : 行: 2 : 錯誤: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the : correct version of the scripts are referenced. If you are using an ASP.NET : ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll. : 2. : 行: 2 : 錯誤: 物件不支援此屬性或方法 : 3. : 行: 1 : 錯誤: 'Sys.Extended.UI.PositioningMode.BottomLeft' 是 null 或不是一個物件 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.33.182.163

09/04 18:22, , 1F
按開始偵錯一樣存在這問題嗎?
09/04 18:22, 1F
文章代碼(AID): #1CWVudVn (Web_Design)
討論串 (同標題文章)
文章代碼(AID): #1CWVudVn (Web_Design)