[Mono-devel-list] [PATCH] asp.net's ListControl.cs fixes.

Yaacov Akiba Slama ya at slamail.org
Thu Aug 14 01:05:13 EDT 2003


Below is a patch fixing some bugs in

[ The work was done by Yaron Shkop <yaronsh at mainsoft.com> ]

1) "DataSource" property (set). A null value is legal.
2) Add a "CachedSelectedValue" private variable and its use in property
"SelectedValue" and in "the OnDataBinding" method. Its purpose is to
give the control a selected value before binding it to data (the same
mechanism is already here for "CachedSelectedindex").
3) Fix in "OnDataBinding" the case when exactly one of DataTextField and
DataValueField has a lenght > 0.

The patch seems to work here and IMHO can be applied to your tree.

Yaacov Akiba Slama

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

More information about the Mono-devel-list mailing list