| | |
|
| | | |
|
|

XColorPicker is a professional .NET web server control, It can be used on ASP.NET WebForms for adding visual color selection to your web forms by simply dragging the control from your ToolBox
• compatible with ASP.NET 1.1 , 2.0 and 3.5.
• it is very useful for the development of dynamic Web sites and for customization screens to allow users to specify what colors they would like to see
• Real time preview, HTML fore color and back color picker and tuner
• This control is written in C# and work with any .NET language including VB.Net and J#
• Support for the Visual Studio.NET 2.0 and Visual Studio.NET 1.1 designer is also included, which allows you to WYSIWYG of the colorpicker control right on the webforms
• This control work in most standard browsers. it have been tested on IE 7.0, IE 6.0, FireFox 2, Opera 9, Opera 8, Netscape, Mozilla.
• Access to the hex value or the rvb values
• Accepts Autopostback, Disabling, Resizing ...
• Custom pictures (icones)
• 100% Ajax Compatible (Partial page rendering, Update panels, Atlas, ...)
• This control use Client side JavaScript |
| Exemple : |
|
| C# code exemple : |
protected void Page_Load(object sender, System.EventArgs e) {
// For the realtime preview.
// You can set this values at Design Time or programmatically (at Run Time).
XColorPicker4.TargetId = Panel1.clientid;
XColorPicker4.TargetProperty = XColorPickerTarget.Background; // or XColorPickerTarget.Color
XColorPicker4.XBackColor = Drawing.Color.DarkGreen;
}
protected void LinkButton1_Click(object sender, System.EventArgs e) {
labelstatus.Text = "Background HEX Color : " + XColorPicker4.Value;
labelstatus.Text += "";
labelstatus.Text += "Background Red Value : " + XColorPicker4.value_red;
labelstatus.Text += "";
labelstatus.Text += "Background Blue Value : " + XColorPicker4.value_blue;
labelstatus.Text += "";
labelstatus.Text += "Background Green Value : " + XColorPicker4.value_green;
} |
|
| VB code exemple : |
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
' For the realtime preview.
' You can set this values at Design Time or at Run Time.
XColorPicker4.TargetId = Panel1.clientid
XColorPicker4.TargetProperty = XColorPickerTarget.Background ' or XColorPickerTarget.Color
XColorPicker4.XBackColor = Drawing.Color.DarkGreen
End Sub
Protected Sub LinkButton1_Click(ByVal sender As Object, ByVal e As System.EventArgs)
labelstatus.Text = "Background HEX Color : " + XColorPicker4.Value
labelstatus.Text += ""
labelstatus.Text += "Background Red Value : " + XColorPicker4.value_red
labelstatus.Text += ""
labelstatus.Text += "Background Blue Value : " + XColorPicker4.value_blue
labelstatus.Text += ""
labelstatus.Text += "Background Green Value : " + XColorPicker4.value_green
End Sub |
|
|
|
|
|
|
|
License
: |
|
|
|
|
|
|
|
|
|
| | | | |
| |
| | |