}
}
- [MonoTODO]
[WebSysDescription ("")]
[WebCategoryAttribute ("Appearance")]
public override string HeaderText {
}
}
- [MonoTODO]
public override bool Initialize (bool enableSorting,
Control control)
{
protected virtual string FormatDataValue (object value, bool encode)
{
string res;
- if (value == null || (value.ToString().Length == 0 && ConvertEmptyStringToNull))
- res = NullDisplayText;
+ if (value == null || (value.ToString ().Length == 0 && ConvertEmptyStringToNull)) {
+ if (NullDisplayText.Length == 0) {
+ encode = false;
+ res = " ";
+ }
+ else
+ res = NullDisplayText;
+ }
else if (DataFormatString.Length > 0)
res = string.Format (DataFormatString, value);
else
protected virtual object GetDesignTimeValue ()
{
- return GetBoundValue (Control);
+ return "Databound";
}
object GetBoundValue (Control controlContainer)
if (DataField == ThisExpression)
return dataItem.ToString ();
+ else if (DataField == string.Empty)
+ return null;
return DataBinder.GetPropertyValue (dataItem, DataField);
}
field.HtmlEncode = HtmlEncode;
}
- [MonoTODO]
+ // MSDN: The ValidateSupportsCallback method is a helper method used to determine
+ // whether the controls contained in a BoundField object support callbacks.
+ // This method has been implemented as an empty method (a method that does not contain
+ // any code) to indicate that callbacks are supported.
public override void ValidateSupportsCallback ()
{
- throw new NotImplementedException ();
}
}