I am validating a RadDatePicker control using a RequiredFieldValidator and a ValidatorCalloutExtender.
The control is being validated successfully but the ValidatorCalloutExtender is not showing/popping up when the input date is invalid/empty. It also doesn't highlight the RadDateTime input box yellow when its empty/invalid.
Any ideas why this would be failing to display when other widgets (regular TextBoxes, etc.) have their ValidatorCalloutExtender's working?
5 Answers, 1 is accepted
I tested the described scenario on my end and it appears to work correctly. Find attached my tests applictaion and verify what the difference in your case is.
Thanks for your response. Below is a simple example that demonstrates the error. There are multiple RadDatePickers (RDP). The first RDP's Callout Extender works fine but if I fill in the top/first picker then click 'Next' in the wizard the ValidatorCalloutExtender for the others does not appear (sometimes the 4th one will). In this case the second ValidatorCalloutExtender should show but it doesn't.
If I put the focus in the second picker then click 'Next' sometimes the ValidatorCalloutExtender will show.
Any ideas how to fix this?
Please remove the ClienIDMode that is set to Static from the controls on the page and see how it goes.
I tried this but it doesn't work - see code below. Have you been able to replicate the error aswell? Its a funny thing where the 2nd, 3rd and 4th ValidatorCalloutExtender's dont show.
I tested the code on my end and actually showing the extended message on the first picker only when next button is clicked is the expected behavior. You can see that after selecting a date for it the extender appears for the second one and the same is done for all pickers one by one till they become valid.
Do let me know if you are expecting different behavior.