locked
Disabling Footnotes inside webview

    Question

  • Html files loaded inside my webview might contain footnotes. Webview content is styled using mutli column layout. And when footnote is clicked style gets corrupted. So I don't want to be able to click on footnotes, or when clicked it doesn't move to reference.

    How can I achieve that in webview? Is there anyway to catch the call from code behind in C# ?

    Thursday, July 31, 2014 8:53 AM

Answers

  • You can use invoke script to modify the DOM of the page and remove the offending code.


    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Thursday, July 31, 2014 12:19 PM
    Moderator