We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Support for strike through?

Thread ID:

Created:

Updated:

Platform:

Replies:

69308 Oct 23,2007 06:35 PM UTC Oct 24,2007 08:59 PM UTC Windows Forms 2
loading
Tags: HTMLUIControl
Gang Zhang
Asked On October 23, 2007 06:35 PM UTC

Hi,

Does the HtmlUIControl support the tags?

We are using Essential Studio 4.4.0.51 and it does not appear to render those tags.

Thanks!



Ramu [Syncfusion]
Replied On October 24, 2007 08:14 PM UTC

Hi,

Could you please create a DirectTrac incident in this regard since this is suspected to be a feature and we can discuss further on this issue.

Please specify the Forum Id in the subject line of the incident.

Thank you for your interest in Syncfusion products.

Best regards,
Ramu

Nandakumar R [Syncfusion]
Replied On October 24, 2007 08:59 PM UTC

Hi,

Thank you for your interest in Syncfusion Essential HTMLUI.

The HTMLUI control does not provide support for the tags: s, strike and del for now. But, these are reported to our developers as a feature request. We will update you once the support for these tags are implemented.

At the same time, the strike through functionality in the HTMLUI control can be achieved through the CSS - Text Decoration. With the help of this support, we can invoke this css in the code to support the s, strike and the del tags. Please refer the below code snippet that explains about how we can achieve the required behaviour through code.


[C#]
using Syncfusion.Windows.Forms.HTMLUI;

IHTMLElement[] strike;
private void htmluiControl1_LoadFinished(object sender, System.EventArgs e)
{
//Get the elements with the tag name strike
this.strike = this.htmluiControl1.Document.GetElementsByName("strike");

foreach (IHTMLElement elem in strike)
{
//Apply the specific css setting
this.htmluiControl1.LoadCSSFromString("strike {text-decoration: line-through}");
}
}


'>http://www.syncfusion.com/support/user/uploads/F69308_1daa6f61.png"/>

Sample:

http://websamples.syncfusion.com/samples/HTMLUI/F69308/main.htm

Please try this and let me know if this helps.

Regards,
Nanda


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;