如何克隆numericUpDownExtender以增加或减少asp.net中的时间 [英] how to crete numericUpDownExtender for incrementing or decrementing time in asp.net
本文介绍了如何克隆numericUpDownExtender以增加或减少asp.net中的时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
我想实现NumericUpDownExtender一段时间。我的意思是当我点击更新按钮时,文本框中的值应该按时间递增。我不想显示日期。
提前感谢你
Hi All
I wanted to implement NumericUpDownExtender for time. What i mean is when i click on updown buttons, value in text box should be incremented in terms of time.I dont want to Display date.
Thank u in Advance
推荐答案
为什么不创建自定义控件?使用TextBox
,两张图片
(对于向上
和down
)。使用JavaScript
更新Image Up和Down Click上的文本值。公开
一些公共属性
以获取文本框的值。它可以是Readonly
。您也可以设置
启用以指定值。
希望这可以帮助您继续。
Why not creating a custom control ? Use aTextBox
,Two Images
( forup
anddown
). UseJavaScript
to update the value of text on Image Up and Down Click.Expose
somepublic properties
to Get the value of Text Box. It can be aReadonly
. You can also make itSet
enable to assign the value.
Hope this will help you to go ahead .
Hi Dear,
Look this below link.
<a href="http://timepicker.codeplex.com/">http://timepicker.codeplex.com/</a>[<a href="http://timepicker.codeplex.com/" target="_blank" title="New Window">^</a>]
这篇关于如何克隆numericUpDownExtender以增加或减少asp.net中的时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文