Hey,
I am not able to get the controls on a Dialog whihc is invoked on clicking on Button from SL web application.
I am able to open and close the dialog with the below code but when i try to find the control using Find method of ActiveBrowser it gives exception. Can anyone please help me on how I can get access to the controls inside this IEDialog. I am also not able to get access to RadEditorControl.
I am not able to get the controls on a Dialog whihc is invoked on clicking on Button from SL web application.
I am able to open and close the dialog with the below code but when i try to find the control using Find method of ActiveBrowser it gives exception. Can anyone please help me on how I can get access to the controls inside this IEDialog. I am also not able to get access to RadEditorControl.
app.Find.ByName<ToggleButton>(
"LocationPickerButton"
).User.Click();
// ** Special IE Code. Given that IE Dialog is an IE specific feature.
if
(ActiveBrowser.BrowserType == BrowserType.InternetExplorer)
{
InternetExplorerActions ieActions = (InternetExplorerActions)ActiveBrowser.Actions;
// Connect the dialog
ieActions.ConnectIEDialog(
"Select Location"
, 300);
ActiveBrowser.Find.ByName<HtmlButton>(
"Find"
).Click();
ActiveBrowser.Close();