﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Issues  » DatePicker in BrowseDialog not working</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sun, 31 May 2026 15:44:14 GMT</lastBuildDate><ttl>20</ttl><item><title>DatePicker in BrowseDialog not working</title><link>http://forum.strataframe.net/FindPost8892.aspx</link><description>I have a browse dialog and want to show a datepicker in but it's only showing as a textbox. I have made sure that the field in the database is of datetime and that is was mapped successfully in the business object. I have tried it on another browse dialog with the same results. Any ideas?</description><pubDate>Tue, 22 May 2007 09:07:20 GMT</pubDate><dc:creator>rmoore</dc:creator></item><item><title>RE: DatePicker in BrowseDialog not working</title><link>http://forum.strataframe.net/FindPost8948.aspx</link><description>Ben Hayat is correct.&amp;nbsp; The GetType() does not return a DateTime but rather a Nullable data type....thus you will never get a DateTime field.&amp;nbsp; You are better off using the Return Alternate Value on Null rather than Nullable within the Customization so that the data type remains a DateTime but allows for a NULL exception.&amp;nbsp; As long as you have your field typed as a Nullable (or use Nullable Generics within the customization) the BrowseDialog will never see that property as a DateTime.</description><pubDate>Tue, 22 May 2007 09:07:20 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: DatePicker in BrowseDialog not working</title><link>http://forum.strataframe.net/FindPost8937.aspx</link><description>Is this field set to "Allow Null"? I suspect it's looking for "Nullable" type rather date type!</description><pubDate>Tue, 22 May 2007 08:26:38 GMT</pubDate><dc:creator>Ben Hayat</dc:creator></item><item><title>RE: DatePicker in BrowseDialog not working</title><link>http://forum.strataframe.net/FindPost8936.aspx</link><description>I have verified that that the datatype is a date. Here is screenshot of the designer.vb file of the BO.&lt;br&gt;
&lt;br&gt;
[img]http://farm1.static.flickr.com/207/509267695_e6de6f1970_o.png[/img]</description><pubDate>Tue, 22 May 2007 07:05:09 GMT</pubDate><dc:creator>rmoore</dc:creator></item><item><title>RE: DatePicker in BrowseDialog not working</title><link>http://forum.strataframe.net/FindPost8913.aspx</link><description>The BrowseDialog will automatically show a date time picker for any field type of a DateTime.&amp;nbsp; So the only reason you would not be getting a date/time picker is if your BO property that the field represents is not of a DateTime data type.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/874eac8e-418e-41ce-a245-b69e.png"&gt;&lt;/P&gt;&lt;P&gt;The above image shown is representing the cust_Created field on the Customers BO in the VB.NET tutorial.&amp;nbsp; I went in and created a browse, added the cust_Created field to the SearchFields collection, associated the BrowseDialog with the MaintenanceFormToolstrip and ran and received the results above.&amp;nbsp; Below is a screen shot of the strong-typed property of the field which can be found in the designer.vb file of the BO.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/3bb6e1e3-eaaf-42ba-bfd4-861c.png"&gt;</description><pubDate>Mon, 21 May 2007 09:55:54 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>