Sourcegrid and notification ?

Apr 23, 2009 at 10:42 AM
Edited Apr 25, 2009 at 7:34 AM

Sourcegrid succeeded to integrate the windows' controls  as cells , i am asking if any one have an idea how we can implement a notification in a specific cell ? 

this is an image show my need .

Image Hosted by

I think using the notification as images it's a good idea , i added a region in sourcegrid.cells.cell as "Notification"

  #region Notification 

public void SetError(string errorText)
SetError(errorText, ErrorType.Information);

public void SetError(string errorText, ErrorType errorType)
//Control.SetError(errorText, errorType);
System.Drawing.Image m_image;
if (errorType == ErrorType.Critical)  
m_image = Properties.Resources.ErrorType_Critical;
else if (errorType == ErrorType.Warning)
m_image = Properties.Resources.ErrorType_Warning;
m_image = Properties.Resources.ErrorType_Information;
this.Image = m_image;


public void ClearErrors()
// Control.ClearErrors();
this.Image = null ;


Also an Enum 

 // Summary:
  // Enumerates error icon types.
public enum ErrorType
// Summary:
// Indicates that no error is associated with an editor or a cell.
None = 0,
// Summary:
// The default error icon specified by the DevExpress.XtraEditors.BaseEdit.ErrorIcon
// property:
// The DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider.GetErrorIcon event
// is not raised when an error of the Default type is assigned to an editor.
Default = 1,
// Summary:
// The 'Information' icon:
Information = 2,
// Summary:
// The 'Warning' icon:
Warning = 3,
// Summary:
// The 'Critical Error' icon:
Critical = 4,

Now i am working under showing a nice tooltip with an image

Image Hosted by
Apr 25, 2009 at 8:03 AM
I would try implementing this with adding an image model to the cell.  However, i am not sure how exactly to make an image to appear in some place of the cell, together with the original cell contents
Apr 25, 2009 at 9:01 AM
Edited Apr 25, 2009 at 9:46 AM

Thanks , i uploaded the notification's images , i hope it is usefull 

i don't know if we can integrate officially some others free Components in sourcegrid as devexpress Components , modified tooltip ...

Apr 25, 2009 at 6:55 PM
Thanks for the images, borchanii.
but just to be clear - SourceGrid team will accept any source patches, but at the moment this feature is not in the schedule and will not be implented any time soon.
Apr 27, 2009 at 11:23 AM
Not at all , about the tooltip , i think we can use the current tooltip controller but i have only one problem , how can i overrides the default windows forms tooltips' images to set my own image ?!  
Apr 28, 2009 at 5:18 PM
Ok, i see.

Apr 30, 2009 at 3:28 PM
Edited Jun 24, 2009 at 10:21 AM

resolved :)