如何克隆numericUpDownExtender以增加或减少asp.net中的时间 [英] how to crete numericUpDownExtender for incrementing or decrementing time in asp.net

查看:69
本文介绍了如何克隆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 a TextBox, Two Images ( for up and down ). Use JavaScript to update the value of text on Image Up and Down Click. Expose some public properties to Get the value of Text Box. It can be a Readonly. You can also make it Set 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屋!

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