validation Message

Hi
My rules message comes behind the control, but when i wait some time, one (datepicker) is suddenly placed underneath the control as shown on the image.
You see the 'value required' message still behind the control
I do not touch the keyboard!
It only happens when i have entered a wrong date (outside the range)
This probably comes because i do a IWFrameRegion.AjaxReRender():
Strange enough IWCGJQDatePicker.JQValidateOptions.IsValid is True, Because IWCGJQDatePicker.Date = 0 and i have a Required rule, i did not expect this.
Eric
My rules message comes behind the control, but when i wait some time, one (datepicker) is suddenly placed underneath the control as shown on the image.
You see the 'value required' message still behind the control
I do not touch the keyboard!
It only happens when i have entered a wrong date (outside the range)
This probably comes because i do a IWFrameRegion.AjaxReRender():
- Code: Select all
if (not lblError.Visible) then
begin
lblError.Visible := IWCGJQDatePicker.JQValidateOptions.IsValid;
if (lblError.Visible) then
IWFrameRegion.AjaxReRender();
end;
Strange enough IWCGJQDatePicker.JQValidateOptions.IsValid is True, Because IWCGJQDatePicker.Date = 0 and i have a Required rule, i did not expect this.
Eric