Hi,
I have a usercontrol (say 'X') and a dialog (say 'Y') both having the same control (say 'A'. )Now this 'A' is a dropdownlist with some options. When clicked on one of the options, it calls SomeForm.ShowDialog(). This opens up a dialog which behaves like a modal dialog when called from 'Y' but the same dialog is not acting as a modal dialog when called from 'X'. This happens only in IE 7. I strongly feel it has to do something with the setting of window's handle. But I am not sure of how to resolve this problem. Please help.
Thanks,
Aisha
Loading
Aisha IyerPosted Jan 5, 2011, 1:09 AM
I am using windows' Form.ShowDialog() method which opens the dialog as a modal dialog when opened from another dialog. However if I try opening it from a user control that is loaded in one of the workspaces of the application, it still opens the dialog but the dialog is not modal.
Sam HobbsPosted Jan 4, 2011, 9:30 AM
This question is in the Windows Forms forum but you say "happens only in IE 7".
Also, Windows Forms are not dialogs and do not do dialogs so use of the term dialog is confusing.