How to load BrowseDlg onClick of Browse Button and Load the directory in textbox

Apr 18, 2015 at 5:10 AM
How to load BrowseDlg onClick of Browse Button and Load the directory in textbox
Apr 20, 2015 at 5:11 PM
Edited Apr 20, 2015 at 5:12 PM
Finally got a solution :

customUI.On(WebSettingForm, "IISWEB_PHYSICALPATH_BTN",
new SetProperty("_BrowseProperty", "IIS_WEBSITEPHYSICALPATH"),
new spawnDialog(CommonDialogs.BrowseDlg));
Apr 21, 2015 at 12:09 PM
Great.
I actually couldn't understand initially what scenario you are dealing with. It looks like it is CustomCLRDialog. Am I right?

Though I have a few further questions:

Didn't you have to use square brackets as it is in the CommomDialogsUI.cs (line 457) implementation?
new SetProperty("_BrowseProperty", "[IIS_WEBSITEPHYSICALPATH]"),
What exactly is this WebSettingForm? Is it your custom dialog or one of the standard ones that I just overlooked?