Hi,
How can I change the Validation Error Icon to a custom icon? WinForms and Asp.Net plataforms.
I tried the code below without success.
<code C#>
public IntelligixWindowsFormsApplication()
{
InitializeComponent();
DXErrorProvider.GetErrorIcon += new GetErrorIconEventHandler(DXErrorProvider_GetErrorIcon);
}
void DXErrorProvider_GetErrorIcon(GetErrorIconEventArgs e)
{
if (e.ErrorType == ErrorType.Critical)
{
e.ErrorIcon = ImageLoader.Instance.GetImageInfo("INT_ErrorIcon").Image;
}
}
</code>
May you give some example?
Thanks.
Sandro.
Hi Sandro,
Thank you for the question. Currently, there is no easy way to change this error image. We apologize for all the inconvenience.
I have converted your ticket to a Bug Report. We will do our best to fix this bug as soon as we can. Your patience is highly appreciated.
Thanks,
Sergey