Find by ID:
Go
[Log in | Register]
Home
Support Center Home
Categories (Beta)
Report Issue
Report a Bug
Make a Suggestion
Ask a Question
Security
Log in
Register
Forgot Password
Support Center Stats

Issue Reports
Total: 43356
Active: 394
Processed: 42962

Suggestions
Total: 17800
Active: 505
Processed: 17295

Questions
Total: 98457
Active: 85
Processed: 98372

1851 Knowledge Base Articles

557 Code Central Examples

Powered by Developer Express AJAX-Enabled ASP.NET components

This website is powered by Developer Express ASP.NET technologies including the ASPxMenu, ASPxNavBar, ASPxTabControl, ASPxSiteMapControl, ASPxPopupControl and the ASPxGridView and Editors Suite.
Database connectivity is via eXpressPersistent Objects.

Knowledge Base Article

ColorEdit loses its value when data-bound or used in the grid

Article ID: A787
Product Group: .NET
Product: XtraEditors Library
Version(s):
Updated: 12 May 2004
Categories: n/a

Description

How to use the Color editor in a grid? When I pick a color from it
and move to the next cell, the value gets lost.

Solution

The Color editor supports values of two data types: System.Drawing.Color and System.Int32. If the data column of your grid column is of type integer, you should set true to the editor's StoreColorAsInteger property. Please note that a color's name is not displayed if StoreColorAsInteger is true.




Do you have any comments? We are eager to hear them!

How would you rate the quality of this content?

Average rating: 1.5 out of 9
2 people have rated this page
 
 
 
1
2
3
4
5
6
7
8
9
 
Post Your Vote (Login Required)
If you need any clarification with regards to the contents of this article, please don't hesitate to contact our Support Team.