QDialog vs QDialogBox
I came across a rather strange problem while attempting to create my first QDialog. The reason I wanted to use the QDialog and not the QDialogBox was I needed the QOnBeforeClose_Event so I could save the users selections prior to the dialog having closed. What I discovered is that the state of the controls on the QDialog were never updated on the server. Therefore whenever you try and retrieve the SelectedValue of a QRadioButtonList or a QListBox it returned NULL. I discovered this by viewing the Ajax requests being posted to the server that were tied to some of my OnChange events on the QDialog. Interestingly enough the QDialogBox does not suffer from the same problem, it just doesn't have the OnBeforeClose event so the only other option I have is to use a CloseCallback which requires me to put some kind of Save button to trigger the callback. I was wondering if anyone else has experienced a similar issue before? If so is there a workaround or is this a bug?

QDialog has a known bug - it should do re-parenting similar to QDialogBox. So you're most likely seeing the effects of that. Hopefully I'll get to fixing this one of these days.
-Vartan
Thanks for the reply. I'm glad to hear this isn't due to by noobishness.