I am using a validation Callout Extender which has two radio buttons to advise the user that the have missed a choosing one of two check-boxes on a form. When they click the radio button of thier choice the underlying form field is filled, using javascript.
I would like to automatically close the callout extender box after they have clicked the radio button.
Do anyone know how to close a callout extender box from another javascript?
For more methods, please dip into the source code of ValidatorCalloutExtender.
I hope this help.
Best regards,
Jonathan
Please mark the replies as answers if they help or unmark if not.
If you have any feedback about my replies, please contact msdnmg@microsoft.com.
Microsoft One Code Framework
Audley9
Member
185 Points
152 Posts
Close Validation Callout Entender Windows
Sep 09, 2007 11:43 PM|LINK
I am using a validation Callout Extender which has two radio buttons to advise the user that the have missed a choosing one of two check-boxes on a form. When they click the radio button of thier choice the underlying form field is filled, using javascript. I would like to automatically close the callout extender box after they have clicked the radio button.
Do anyone know how to close a callout extender box from another javascript?
Thanks for the help
Jonathan She...
All-Star
31269 Points
3445 Posts
Re: Close Validation Callout Entender Windows
Sep 12, 2007 05:52 AM|LINK
Hi Audley9,
You want to use Javascript to hide a showing ValidatorCalloutExtender, do you? If I have misunderstood, please feel free to let me know.
Yes! Please add the Javascript function to your page.
<script type="text/javascript" language="javascript">
function hideCallOut(){
$find("your ValidatorCalloutExtender's BehaviorID").hide();
}
</script>
<ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="NReqE" BehaviorID="myVCEBID1"
TargetControlID="NReq" HighlightCssClass="validatorCalloutHighlight" />
For more methods, please dip into the source code of ValidatorCalloutExtender.
I hope this help.
Best regards,
Jonathan
If you have any feedback about my replies, please contact msdnmg@microsoft.com.
Microsoft One Code Framework