Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15057

VS 2019 Need help trying to add a html widget into a windows form

$
0
0
Hi guys I am trying to figure out how to use a html widget in my program its a widget from TradingView and the code in Java Script while in using the .Net language

This is the widget code im trying to add in.

<!-- TradingView Widget BEGIN -->
<div class="tradingview-widget-container">
<div id="tradingview_ec008"></div>
<div class="tradingview-widget-copyright"><a href="https://www.tradingview.com/symbols/NASDAQ-AAPL/" rel="noopener" target="_blank"><span class="blue-text">AAPL Chart</span></a> by TradingView</div>
<script type="text/javascript" src="https://s3.tradingview.com/tv.js"></script>
<script type="text/javascript">
new TradingView.widget(
{
"width": 980,
"height": 610,
"symbol": "NASDAQ:AAPL",
"interval": "D",
"timezone": "Etc/UTC",
"theme": "light",
"style": "1",
"locale": "en",
"toolbar_bg": "#f1f3f6",
"enable_publishing": false,
"allow_symbol_change": true,
"container_id": "tradingview_ec008"
}
);
</script>
</div>
<!-- TradingView Widget END -->

I have added in code to allow the html code to work in the .Net language by adding in & C & " after every " which works to some extent but when i load the project all is shows in the webbrowser is "click to go to TradingView" when i would like it to just load out like this
Attached Images
 

Viewing all articles
Browse latest Browse all 15057

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>