Hai i am Using ultraNumericEditor. I want to show message to the user , if ultraNumericEditor value is empty. How to do this?
For UltraTextEditor ,
i am using
If String.IsNullOrEmpty(Trim(txtProjectNo.Text)) Then txtProjectNo.Focus() Messagebox.Show("Project cant be left empty")
End If
What is the case for ultraNumericEditor?
Thanks Hardy
Thank u very much Brian..
Thank u Hady..
JANANI said: What is the case for ultraNumericEditor?
you can either use ultraNumericEditor1.Nullable =false; so that the control wont allow null values
or use :
private void ultraNumericEditor1_Leave(object sender, EventArgs e)
{
if (string.IsNullOrEmpty(ultraNumericEditor1.Value.ToString()))
MessageBox.Show("");
}