Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Help with autofill fields within webbrowser

$
0
0
I have been tasked with trying to fill in fields that are on a website that is using SmartClient from a desktop application using a WebBrowser control in .net.
I am not that familiar with SmartClient and the full API but am looking for advice on how to fill in the form fields.
I understand that i may need to access the ValuesManager to do this?
For example, the live demo at:
http://www.smartclient.com/#formLayoutTitles
How would I fill in the username field after the form has been displayed?

From the webbrowser control, i execute code like this:
wb.Document.InvokeScript("this.isc_ValuesManager.setValue('username', 'bob smith')")
But not sure of the API hierarchy to call to properly set the value of the username field using jscript.

Thank you

Viewing all articles
Browse latest Browse all 4756

Trending Articles