Questions tagged as 'cefsharp'

1
answer

problem removing tab from a tabcontrol c #

I'm trying to remove a tabcontrol, this tabcontrol is with the cef open (browser with google chrome engine) on it I have a button called quit. It is created like this: TabPage nova = new TabPage(); nova.Text = "aba1"; //aba 2 assim por diante...
asked by 14.06.2018 / 10:04
0
answers

problems with scroll javascript in cefsharp

I'm using cefsharp to render html in C # I need a javascript function that scrolls the bar of a div. Here's how: function Rolagem() { if(document.getElementById("rolagem").checked==true) { var el = document.getElementById("pain...
asked by 11.06.2018 / 04:31
0
answers

How to open a new window in cefsharp?

I'm using cefsharp, and I create a window in a window form, so that's fine, it's working fine, but I need it to open a second window, in a second window form ... I call it like this: Form2 f = new Form2(); f.Show(); And on form2, I do the s...
asked by 13.06.2018 / 01:14
1
answer

How to insert C # string in CefSharp script

How can I insert a c # string into the script? string teste = "testando"; chromeBrowser.ExecuteScriptAsync("$(document).ready(function() {alert({0})}); ", teste); I tried this code but it did not return anything     
asked by 30.05.2018 / 22:01
2
answers

How to set the id = with 'instead of'

How can I set the id = with 'instead of' because if I try to run the script in chromeBrowser.ExecuteScriptAsync with the id="" it error, how can I do that? html code / javascript var x = '<label id="idteste">Testando' + '</l...
asked by 30.05.2018 / 19:23