I have an Ultrawinvalidator associated with a numerical column in the grid via an ultranumericaleditor control.
the validator works fine, when the data entered contains an error it highlights the cell in red and display a red X.
But the AddRow in the bottom of the grid always has a highlighted cell in red with the red x on it.
The addrow is usually blank until we try to add a new row, at that poin the cell will go back to normal once data is typed in it.
Is there a way to prevent the cell in the AddRow column from always looking like it has an error?
Thanks
Talal
Hello Talal,
I was not able to reproduce the behavior you are describing, so I attached my sample to this post for you. Please review it and feel free to let me know if I misunderstood you or if you have any other questions.
Boris,
I changed the settings of the numerical editor in your project to mimic my code and reproduce the error.
Mainly, the cell in question is double, required (not null) and has to be between 0 and 25.
If you run the attached project you'll see what I mean.
Hello again Talal,
I am very glad to see that you got it working.
Please do not hesitate to contact us if you need any additional assistance.
Yes that takes care of the problem, it didn't occur to me to handle the InitializeRow event.
Thanks,
Helo again,
I see now. Thank you for the sample provided. Would you please try the sample attached to this post and see if it meets your requirements.