2011-05-25 119 views
0

有沒有辦法顯示一條消息:「value * not allowed」 當用戶在文本框中輸入時。顯示文本框條目的消息

FilteredTextBoxExtender不允許你輸入一個值,但是沒有消息。

我可以有一個Button_click,但這將需要我在我的代碼後面做的更改..我不想這樣做。

不能使用modalpopup和filtertextboxextender一起使用。

目前我使用這個,但我不能得到一個消息出來的部份

<cc1:FilteredTextBoxExtender ID="ext_Box_FilteredTextBoxExtender" 
       runat="server" Enabled="True" FilterMode="InvalidChars" FilterType="Custom" InvalidChars="*" 
       TargetControlID="up_Box"> 
      </cc1:FilteredTextBoxExtender> 

回答