DatePicker in BrowseDialog not working


Author
Message
rmoore
rmoore
StrataFrame Novice (57 reputation)StrataFrame Novice (57 reputation)StrataFrame Novice (57 reputation)StrataFrame Novice (57 reputation)StrataFrame Novice (57 reputation)StrataFrame Novice (57 reputation)StrataFrame Novice (57 reputation)StrataFrame Novice (57 reputation)StrataFrame Novice (57 reputation)
Group: Forum Members
Posts: 21, Visits: 84
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?
Reply
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
The BrowseDialog will automatically show a date time picker for any field type of a DateTime.  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.

The above image shown is representing the cust_Created field on the Customers BO in the VB.NET tutorial.  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.  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.


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search