NTaskDialog example doesn't support URL


https://www.nevron.com/Forum/Topic7056.aspx
Print Topic | Close Window

By Craig Swearingen - 12 Years Ago

I am considering using the NTaskDialog.  I started the "Nevron User Interface - Part of Nevron .Net Vision - Examples" program that comes with the toolkit and am looking at C# Examples>All Examples>Custom Forms>Task Dialog - Properties.  When pressing the "Show Dialog" button without changing any properties the NTaskDialog shows but the www.nevron.com URL in the footer is not highlighted as a URL and clicking on it does nothing though the code has the following:

item = m_TaskDialog.Footer;
item.HyperLinkClick += new NHyperLinkEventHandler(OnFooterHyperLinkClick);
Icon icon = SystemIcons.Information;
NSize imageSize = new NSize(icon.Width, icon.Height);
item.Image = NSystemImages.Information;
item.ImageSize = imageSize;

text = "For more information visit <a href='http://www.nevron.com/News.aspx?content=News'>www.nevron.com</a>";
item.Text = text;

private void OnFooterHyperLinkClick(object sender, NHyperLinkEventArgs e)
{
   Process.Start(e.Url);
}

Seems like a bug in the build I am on (11.12.14.12).  Is there a way to work around this?

By Nevron Support - 12 Years Ago
Hello Craig,

It seems that this bug is introduced in some of the latest releases. We will try to fix it for the next release.
Sorry for the inconvenience.
By Douwe Achterkamp - 11 Years Ago
I also ran into this issue yesterday when I upgraded to the last version of the UI library.

Is there a workaround to fix this?