January 17, 2013

無法修改 Controls 集合,因為控制項包含程式碼區塊

看了網路上發生過這種狀況的,不只一種,而我遇到的又更神奇了!! 我的每個功能頁面中,皆有一個離開的按鈕,之前是用HTML的按鈕, 頁面中會有備註的欄位TextArea 而我將HTML的按鈕改為asp.net的按鈕時~~~~ 按離開這個按鈕就會出現"無法修改 Controls 集合,因為控制項包含程式碼區塊...." 這個問題很難查,因為根本不知道為啥就掛了,只不過將HTML的按鈕改為asp.net的按鈕,卻掛了, 後來只好一個資料一個資料測試了, 後來發現,如果TextArea 有塞值,按離開就會掛, 為了方便管控,之前TextArea 有塞Runat="server"這個屬性,也因為這個屬性, 居然導致HTML換ASP.NET的按鈕會掛掉!! 真的很神奇,在此提供給需要參考的各位大大

0推薦此文章
Today's Visitors: 0 Total Visitors: 1
Personal Category: Brian的程式筆記 Topic: learning / education / linguistic
[Trackback URL]

Post A Comment









Yes No



Please input the magic number:

( Prevent the annoy garbage messages )
( What if you cannot see the numbers? )
Please input the magic number

誰來收藏
Loading ...
unlog_NVPO 0