Arctic Vowel
Arctic Vowel

Reputation: 1522

Send text into textbox loaded in a website inside WebView

I have a WebView and it can load a website, say http://www.google.com. Suppose the website has a textbox and when I click/touch it, the default Windows Touch Keyboard springs up.

I don't want to use the default keyboard as I'm creating my own custom keyboard. What I want is for the characters entered in my custom keyboard (implemented in the same UserControl along with the WebView) to send the entered characters into the currently selected textbox of a webpage loaded inside the WebView.

How would I go about doing this ?

Upvotes: 0

Views: 933

Answers (2)

Matt Small
Matt Small

Reputation: 2275

You can't override the default behavior of input elements in Windows Store apps, including Web apps hosted inside WebView. There are no APIs for custom keyboards in Store apps, and you will not be able to prevent the keyboard from popping up at when a text-based input element is focused.

Upvotes: 0

user2508630
user2508630

Reputation: 107

If y want insetr text into some HTML element (input,textarea,etc), you may to use DOM and property innerHTML

Upvotes: 1

Related Questions