[Mono-devel-list] [PATCH] HyperLinkColumn binding fix

David Pickens dsp at rci.rutgers.edu
Thu Aug 14 21:39:17 EDT 2003


It seems that the HyperLinkColumn control throws a field_not_found 
exception if one attempts to bind using only one (but not both) of the 
following: DataTextField or DataNavigateUrlField.

According to MSDN docs, it appears you should be able to assign both 
static text and a data generated/formated URL (in other words, 
DataNavigateUrlField, but *not* DataTextField).  It also states that if 
both DataTextField and Text are identified DataTextField should be honored.

The attached patch causes HyperLinkColumn to throw an exception only 
where someone specified one of the above data fields and it can't be 
identified.

David


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hyperlinkcolumn_patch.diff
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030814/e1a7dc6c/attachment.pl 


More information about the Mono-devel-list mailing list