Search results for query: *

  1. M

    WebView2 - javascript link

    Thanks John! I feel like I'm taking up too much of you time on this. It's not that critical to resolve, as the client can just click the WinForm's X (close) button. I'm new to webView2, and thought I might be missing something stupid (as I typically am). Also (is it just me?), I could not find...
  2. M

    WebView2 - javascript link

    No problem, thanks anyway.
  3. M

    WebView2 - javascript link

    <html> <body> <h1>Test Page</h1> <a id="btnCancel" class="buttonCancel" href="javascript:__doPostBack('btnCancel','')">Cancel - Javascript</a> <br /> <a id="btnCancel2" class="buttonCancel" href="http://www.google.com">Cancel - URL</a> </body> </html> private void...
  4. M

    WebView2 - javascript link

    No new window, the link (javascipt) just affects the current webpage (note: the webpage is not in my control). Maybe webView2 just doesn't detect a javascript command when a link/button is clicked. I can live with this, but just trying to recreate the same functions I implemented with...
  5. M

    WebView2 - javascript link

    Hi John, The link (javascript:_doPostBack('btnCancel','') does not fire the NavigationStarting event. With webBrowser, I could get it via webBrowser1_Navigating, and close the form if clicked.
  6. M

    WebView2 - javascript link

    Hi, I'm trying to switch from using webBrowser to webView2 control, in my WinForm application. With webBrowser, I'm able to capture the URL of a link (when clicked) on the webpage., even if it's javascript (javascript:_doPostBack('btnCancel','')) via the webBrowser1_Navigating event (e.URL)...
  7. M

    Resolved WinForm - SQL transaction.Commit() waiting to complete?

    I didn't know for sure (I assumed it would wait until completion), but wanted to make sure. Didn't want to clear/delete data objects (i.e. DataTable, or a DataRow) that were needed for the "database operation" to complete fully.
  8. M

    Resolved WinForm - SQL transaction.Commit() waiting to complete?

    Thanks jmcilhinney, I realize the Commit will complete successfully or throw an exception, but was just wondering if the "next line of code" was going to execute before Commit had a chance to fully complete.
  9. M

    Resolved WinForm - SQL transaction.Commit() waiting to complete?

    Creating a WinForm (C#.NET 4.6). I believe this is more of a C# coding question than a SQL question? I'm saving data to a SQL Server database. My C# code is using "transaction.Commit()", so I can perform a "transaction.Rollback()" if there's an issue. My code is looping through rows of a...
Back
Top Bottom