This function is used to close Pop-up .
Syntax:
ClosePopup(Control name, value)
Control name is the display name of the control. Value is an optional argument. The pop will close if the control value matches the data provided in the Value argument.
Example:
ClosePopup(Textbox1,”Tom”)
Textbox1.Value=”Tom”
The child popup will be closed since the value in the Textbox1 is “Tom”.