如何用很少的颜色创建自己的颜色选择器 [英] How to create own color picker with just few colors
本文介绍了如何用很少的颜色创建自己的颜色选择器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个网格
,其中有文本框
,颜色为彩色
i想要创建一个颜色选择器
这样在文本框的clk上会看到颜色选择器
i需要从表格中获取颜色选择器的值havin color_name&rgb。
任何人都知道如何使用thr oracle数据库创建颜色选择器。
解决方案
你可以使用Ajax ToolKit ColorPickerExtender Control来做到这一点。
看看演示和代码。
1. ColorPicker演示 [ ^ ]。
2. 如何使用e ColorPicker控件 [ ^ ]
[更新]
你也可以使用jQuery。
参考 - jQuery MiniColors 2.0 [ ^ ]
[/更新] 的
I have a grid
in which there is textbox
with feild as color
i want to create a color picker
such that on clk of textbox the color picker will be seen
i need to take the values of color picker from table havin color_name & rgb.
Anybody have idea how to create color picker using values thr oracle database.
解决方案
You can do this using Ajax ToolKit ColorPickerExtender Control.
Take a look at the demo and codes.
1. ColorPicker Demonstration[^].
2. HOW TO Use the ColorPicker Control[^]
[Update]
You can also use jQuery.
Refer - jQuery MiniColors 2.0[^]
[/Update]
这篇关于如何用很少的颜色创建自己的颜色选择器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文