NTaskDialog example doesn't support URL


Author
Message
Craig Swearingen
Craig Swearingen
Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)
Group: Forum Members
Posts: 99, Visits: 654

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?


Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
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.

Best Regards,
Nevron Support Team


Douwe Achterkamp
Douwe Achterkamp
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)
Group: Forum Members
Posts: 2, Visits: 3
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?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search