I've got a webdropdown with a sql Datasource.
I've formatted to the stored proc to return just a date, but when I view the dropdown, it includes the time portion also.
<ig:WebDropDown ID="DateSelectionWebDropDown" runat="server" Width="200px" CssClass="Textboxes" DataSourceID="DateDropDownSqlDataSource" DataKeyFields="ImportDate" TextField="ImportDate" ValueField="ImportDate" DropDownAnimationType="Bounce"> <AutoPostBackFlags SelectionChanged="On" /> <DropDownItemBinding TextField="ImportDate" ValueField="ImportDate" /></ig:WebDropDown><asp:SqlDataSource ID="DateDropDownSqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ThisConnectionString %>" SelectCommand="Proc_GetWellsFargoDates" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
Is there a way to format the values and strip off the time portion??
Hello csnyder_ptb,
please check out this forum post: http://community.infragistics.com/forums/t/64383.aspx