Hi,
We've added a new property to all Field types, .RawValue.
The .RawValue property will return the exact value submitted by the form before it's converted to the appropriate Value type.
For all TextFieldBase type components (TextField, DateField, Combobox, etc) we've also added a new .RawText property.
The .RawText property will return the .RawValue property as well, but converted to a string type.
The following sample demonstrates your original sample using the new .RawValue and .RawText properties.
Example
<%@ Page Language="C#" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<script runat="server">
public void Button1_Click( object sender, DirectEventArgs e )
{
X.Msg.Notify("Raw DateField", this.DateField1.RawText).Show();
// X.Msg.Notify("Raw DateField", this.DateField1.RawValue.ToString()).Show();
}
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Ext.NET Example</title>
</head>
<body>
<form runat="server">
<ext:ResourceManager runat="server" />
<ext:Button runat="server" Text="Submit" OnDirectClick="Button1_Click" />
<ext:DateField ID="DateField1" runat="server" />
</form>
</body>
</html>
The .RawValue and RawText properties have been committed to SVN and will be publicly available with the upcoming v1.0 release.
Hope this helps.