You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to display HTML which I received from my server in HtmlBlock, it displays properly but the style applied are not there in displayed Html. Do we need to manually add them on the mobile side within this control?
Even I tried to use HtmlViewer but it is not displaying content.
OK. I tried to use WebView but it is sometimes give different height when I am trying to find height dynamically based on HTML Content using document.body.firstChild.offsetHeight
I am trying to display HTML which I received from my server in HtmlBlock, it displays properly but the style applied are not there in displayed Html. Do we need to manually add them on the mobile side within this control?
Even I tried to use HtmlViewer but it is not displaying content.
Can you suggest what is the issue?
Code
HtmlViewer webView = new HtmlViewer() {IsHitTestVisible=true };
string htmlContent;
if (hexcolor != null)
{
htmlContent = string.Format("{0}" +
"<body style="margin:0px;padding:0px;background-color:{2};">{1}",
notifyJS,
formItem.I_DEFAULT_VALUE,
hexcolor);
}
else
{
The text was updated successfully, but these errors were encountered: