wpf中的chrome浏览器,如何将字符串设置为文本框? [英] chromium browser in wpf, How to set string to textbox?

查看:93
本文介绍了wpf中的chrome浏览器,如何将字符串设置为文本框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我使用wpf Chromium浏览器将.php页面加载为tabcontrol项目,My .php页面包含Textbox(id = mytext)


我想从C#代码设置测试框的值, 


我该怎么做呢, 


我对wpf中的chrome浏览器很新,而javascript,


请帮我实现这个目标。比预先。


解决方案

嗨sushilbhat,


关于通过Id设置TextBox的值,您可以查看以下主题:


https://www.codeproject.com/Questions/813558/How-to-set-GetElementById-value-通过文本框



最好的问候,


Cherry



Hi,

I am loading the .php page as a tabcontrol item using wpf Chromium browser, My .php page contains Textbox (id=mytext)

I want to set the value for the test box from C# code, 

How can I do this, 

I am very new to chromium browser in wpf, and javascript,

Please help me to achieve this. Than in advance.

解决方案

Hi sushilbhat,

About setting the value for TextBox by Id, you can take a look the following thread:

https://www.codeproject.com/Questions/813558/How-to-set-GetElementById-value-via-a-textbox

Best Regards,

Cherry


这篇关于wpf中的chrome浏览器,如何将字符串设置为文本框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆