Hello, I got this error when I've tried to show a RadSvgImage in a GridViewImageColumn
message: Converter can't convert
stack trace:
at Telerik.WinControls.UI.RadDataConverter.ThrowFormatException(Exception ex, String message)
at Telerik.WinControls.UI.RadDataConverter.ChangeType(Object value, Type targetType, IFormatProvider formatInfo)
at Telerik.WinControls.UI.RadDataConverter.ParseCore(Object value, Type targetType, Type sourceType, TypeConverter dataTypeConverter, IDataConversionInfoProvider dataColumn, Boolean checkFormattedNullValue, CultureInfo cultureInfo)
at Telerik.WinControls.UI.RadDataConverter.Parse(IDataConversionInfoProvider converstionInfoProvider, Object value, CultureInfo cultureInfo)
at Telerik.WinControls.UI.GridViewRowCollection.Add(Object[] values)
Code
Dim colIdiomaOriginalSvg As New GridViewImageColumn("IdiomaOriginalFoto") If gradeParesIdiomasRecursos.Columns.Count = 0 Then gradeParesIdiomasRecursos.MasterTemplate.Columns.Add(colIdiomaOriginalSvg) End If Dim fotoDtpSvg As RadSvgImage = RadSvgImage.FromXml(xmlSvgImage) gradeParesIdiomasRecursos.Rows.Add(fotoDtpSvg)