asp.net confirm delete action conditionally
<p>In a Asp.net page I have a grid of departments that is displayed with checkboxes that can be checked to delete departments. If the selected record(department) has child records (Employees) I need to confirm the delete - otherwise I will delete the records without confirmation.
What is the standard and most elegant way to perform this
thanks</p>
