WPF v2011.2.712.40
We have a grid showing a list of contacts with email addresses. If an email is not valid a UriFormatException is thrown when just hovering over the hyperlink or trying to click on the hyperlink. How can we trap this and stop the exception from being thrown? I looked for error events on the grid and could not find anything obvious.
<
telerik:GridViewDynamicHyperlinkColumn
Header
=
"Email"
NavigateUrlMemberPaths
=
"EmailAddress"
NavigateUrlFormatString
=
"{} mailto:{0}"
DataMemberBinding
=
"{Binding EmailAddress}"
/>