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

Gonzalo Paniagua Javier gonzalo at ximian.com
Wed Aug 13 14:20:55 EDT 2003

El mi? 13-08-2003 a las 19:07, Yaacov Akiba Slama escribió:
> Hello,
> Below is a patch fixing some bugs in 
> mcs/class/System.Web/System.Web.UI.WebControls/ListControl.cs
> [ 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.

Can you also provide a test case that shows the bug(s) ?

Thanks in advance.


More information about the Mono-devel-list mailing list