Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
120
Unable to get webdropdown reference in silverlight WebBrowser control
posted

I realize that this post is probably misplaced, but I didn't see an obvious place in the silverlight forums either.

I have an ASP.Net site using Infragistic controls and it works beautifully (thanks Infragistics!) in all normal browsers (Chrome, Firefox, IE).

However, when I try to view this site in a Silverlight WebBrowser control (OOB), I get javascript errors.  When I track down the errors, it is when using the $find command to try to get a reference to an Infragistic object.  For example:

           var bmdropdown=$find("<%= BookmarkList.ClientID %>");

Returns an object that I can manipulate in IE, Firefox, & Chrome, but it returns NULL under the Silverlight WebBrowser control.

For context, $get operations work under both.  

Here is the BookmarkList definition:

           <ig:WebDropDown ID="BookmarkList" runat="server" DisplayMode="DropDownList" Width="180px" ClientEvents-SelectionChanged="ChangedBookmark"></ig:WebDropDown>

Thanks in advance for any help!