I am using a web page in which the user can browse and select folders. The folderbrowsedialogu works properly but the dialog appears behind the active page. The user has to either minimize or use alt-tab to select the browse dialog.
How can I bring the folder browse dialog to front or give focus ?
FolderBrowserDialog dialog = new FolderBrowserDialog();
DialogResult result = dialog.ShowDialog();
if (result == DialogResult.OK)
{
myVal = dialog.SelectedPath;
}