带有Emptymessage的Radtextbox不会保存emptymessage值默认值 [英] Radtextbox with Emptymessage doestn't save emptymessage value default

查看:182
本文介绍了带有Emptymessage的Radtextbox不会保存emptymessage值默认值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计们,



我有一个带有MA的空消息的文本框(状态)。我的页面包含100多个文本框。我正在使用服务器端在我的页面验证。现在问题是什么



当文本框(状态)为空时,默认显示MA。现在显示MA并且用户单击保存然后记录未保存。它显示状态的requirefield。



所以如果文本框中有空消息,我想保存记录。



请帮帮我

感谢和问候

Rahul

hey guys,,

I have a textbox(State) with emptymessage with "MA".My page contains more than 100 textboxes.I am using server side validation on my page.Now problem is what

When textbox(State) is empty then MA is shown by default.now when MA is shown and User click on save then record is not saved.It shows requirefield for State.

So i want to save record if there is emptymessage in textbox.

Please help me
Thank and regards
Rahul

推荐答案

显示空消息当文本框是嗯 - 空!!

它不是默认值的替代品,而是只有占位符以防万一没有价值。
Empty message is shown when text box is hmmm - empty!?
It's not a replacement for default value, but only a placeholder in case there is no value.


我解决了它使用javascript onblur n onfocus功能和基于条件设置值。
I resolved it using javascript onblur n onfocus fuction and setting value on the basis of condition.


这篇关于带有Emptymessage的Radtextbox不会保存emptymessage值默认值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆