or

| Text property cannot be set. String was not recognized as a valid DateTime. |
| Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. |
| Exception Details: System.InvalidCastException: Text property cannot be set. String was not recognized as a valid DateTime. |
| Source Error: |
| An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
| Stack Trace: |
| [InvalidCastException: Text property cannot be set. String was not recognized as a valid DateTime.] |
| Telerik.Web.UI.RadDateInput.RangeTextProperty(String value) +192 |
| Telerik.Web.UI.RadDateInput.set_Text(String value) +22 |
| Telerik.Web.UI.RadInputControl.LoadPostData(String postDataKey, NameValueCollection postCollection) +103 |
| Telerik.Web.UI.RadDateInput.LoadPostData(String postDataKey, NameValueCollection postCollection) +26 |
| Telerik.Web.UI.RadWebControl.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) +13 |
| System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +346 |
| System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1743 |
| -------------------------------------------------------------------------------- |
| Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082 |
| <telerik:RadToolBar ID="RadToolBarGridMenu" runat="server" Width="100%" |
| onbuttonclick="RadToolBarGridMenu_ButtonClick" Skin="Black" > |
| <Items> |
| <telerik:RadToolBarButton Text="Bulk Edit Selected" Value="Edit"></telerik:RadToolBarButton> |
| <telerik:RadToolBarButton Text="Update Data" Visible="false" Value="Update"></telerik:RadToolBarButton> |
| <telerik:RadToolBarButton Text="Cancel Bulk Edit" Visible="false" Value="Cancel"></telerik:RadToolBarButton> |
| <telerik:RadToolBarButton IsSeparator="true" /> |
| <telerik:RadToolBarButton Text="Disable Paging" Value="Paging"></telerik:RadToolBarButton> |
| <telerik:RadToolBarButton Text="Expand All" Value="Expand" Visible="false" /> |
| <telerik:RadToolBarButton Text="Collapse All" Value="Collapse" Visible="false" /> |
| <telerik:RadToolBarButton IsSeparator="true" /> |
| <telerik:RadToolBarDropDown Text="Export"> |
| <Buttons> |
| <telerik:RadToolBarButton Text="Export To PDF" CommandName="PDF" /> |
| <telerik:RadToolBarButton Text="Export To Word" CommandName="Word" /> |
| <telerik:RadToolBarButton Text="Export To Excel" CommandName="Excel" /> |
| </Buttons> |
| </telerik:RadToolBarDropDown> |
| <telerik:RadToolBarButton IsSeparator="true" /> |
| <telerik:RadToolBarSplitButton Value="View" > |
| <Buttons> |
| <telerik:RadToolBarButton Text="All Projects"> |
| </telerik:RadToolBarButton> |
| <telerik:RadToolBarButton IsSeparator="true" Value="Separator" /> |
| <telerik:RadToolBarButton CssClass="logo" Value="SaveTemplate"> |
| <ItemTemplate> |
| <div onclick="StopPropagation(event)"> |
| <table id="NewView" width="250px" style="margin-left:28px"> |
| <tr><td>View Name:</td><td><asp:TextBox ID="TextBoxViewName" runat="server" Width="150px" MaxLength="200" /></td></tr> |
| <tr><td>Is Default View:</td><td><asp:CheckBox ID="CheckBoxViewDefault" runat="server" /></td></tr> |
| <tr><td colspan="2" align="center"><asp:Button ID="ButtonCreateView" runat="server" Text="Save Template As View" OnClick="SaveTemplateAsView" /></td></tr> |
| </table> |
| </div> |
| </ItemTemplate> |
| </telerik:RadToolBarButton> |
| </Buttons> |
| </telerik:RadToolBarSplitButton> |
| </Items> |
| </telerik:RadToolBar> |
I'll grant you, wanting to upload a zero-length file is, well, an odd thing to want to do, but, it seems, in FF3.5 you can't.
I select the file OK, but when I click the button that causes a PostBack, and hence starts the Upload does nothing.
I have both client- and server-size validation on the form I use for this and I can see that the client-side validation functions fire but NO server-side code runs; not OnLoad or the server-side validation.
The same code run in IE8 /does/ upload the file.
As I say, wanting to upload a zero-length file seems like a waste of bandwidth to me, but it should work consistently, don't you think?
BTW, this code is running under Q1 2009.
--
Stuart