This is a migrated thread and some comments may be shown as answers.

[VB.NET] Webbrowser Control - unable to get Telerik RadComboBox (autocomplete) to fire on text change

1 Answer 169 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Daniele
Top achievements
Rank 1
Daniele asked on 13 Feb 2017, 08:26 PM

Hi
   I have a small program that i've written to test a web site.  The program automatically logs into the website, changes the date, selects radiobuttons and refreshes the screen.  The problem is that I've encountered an autocomplete  RadComboBox  that I can identify, set focus and change the value.  However, it cannot get the event to fire once the "value" has been changed.
I have tried to fire an event with invokemember / setattribute - onchange, mouseup, mousedown, ontextchange, click, onclick, select item, submit etc to to no avail.

How do I get this RadComboBox to recognize a change programatically?

 

<code>

vb.net 2010
.....

For Each element As HtmlElement In m_document.GetElementsByTagName("input") 'input

If element.Name = RadComboBox Then

     Debug.Print("RadComboBoxt found")

     element.Focus()

      element.InvokeMember("click")

      element.SetAttribute("value", "00138SUPP")

    .........

</code>

 

Thanks!!!!!

1 Answer, 1 is accepted

Sort by
0
Stefan Nenchev
Telerik team
answered on 16 Feb 2017, 01:10 PM
Hi Daniele,

This is the UI for WPF Suite forum and your issue seems related to some web technology. I am not sure which product you are referring to but you should consider asking the question in the correct forum.

Regards,
Stefan Nenchev
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which you to write beautiful native mobile apps using a single shared C# codebase.
Tags
ComboBox
Asked by
Daniele
Top achievements
Rank 1
Answers by
Stefan Nenchev
Telerik team
Share this question
or