Hi,
If you just want to handle the click event, you can set the CheckBox's AutoPostBack to true. That should post back the page for you when you click it. You can then handle the CheckBox's CheckedChanged event. Note this part has nothing to do with the dialog or JavaScript. It will be something like this:
Code: HTML/ASPX
<asp:CheckBox runat="server"
id="CheckBox1" OnCheckedChanged="YourHandler" Text="Test" />
Code: Visual Basic.NET
Protected Sub YourHandler(sender As Object, e As System.EventArgs)
Dim checkbox as CheckBox = CType(sender, CheckBox)
'do whatever you would like to do here
End Sub
Whenever the page post back, the dialog will close. If that is not the intended behavior, you can place the CheckBox inside an ASP.NET AJAX UpdatePanel or a CallbackPanel. UpdatePanel is provided by ASP.NET, while CallbackPanel is one of our controls, but they work in a similar way. If you do not wish to use those and do not care about full page reload, you can also set the dialog's InitialState on the server to Visible to re-display the dialog.
Hope this helps.
Thanks!