weixin_33701294 2011-05-25 18:59 采纳率: 0%
浏览 18

显示文本框输入消息

is there a way to to display a message: " value * not allowed" when a user is inputing in a textbox.

FilteredTextBoxExtender does not allow u enter a value but there is no message with it.

i can have a Button_click even but that will require me to do changes in my code behind.. and i dont want to do that.

cant modalpopup and filtertextboxextender be used together.

currently i am using this but i cant get a message out of ths

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

1条回答 默认 最新

  • weixin_33749131 2011-05-25 20:29
    关注

    I'm not quite sure but I think you are looking for validation.

    Look at the ASP.NET validator.

    http://msdn.microsoft.com/en-us/library/aa479013.aspx

    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog