﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Integration with WebInput (DateTime)</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Integration-with-WebInput-DateTime/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Integration with WebInput (DateTime)</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Integration-with-WebInput-DateTime/</link><pubDate>Tue, 26 Oct 2010 09:57:26 GMT</pubDate><dc:creator>niven</dc:creator><description>&lt;p&gt;Hello Kenny,&lt;/p&gt;
&lt;p&gt;Im able to replicate your issue on my side. I have follow this issue to the developer team. I will give you any news regarding this issue as soon as I've heard any updates.&lt;/p&gt;
&lt;p&gt;Thank you and have a nice day.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Niven.&lt;/p&gt;</description></item><item><title>Integration with WebInput (DateTime)</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Integration-with-WebInput-DateTime/</link><pubDate>Sun, 24 Oct 2010 23:55:53 GMT</pubDate><dc:creator>kenny.yung</dc:creator><description>&lt;p&gt;Dear, &lt;/p&gt;
&lt;p&gt;I have encountered problem when I try to use a WebInput as a DatePicker in the WebGrid.&lt;/p&gt;
&lt;p&gt;I have enabled DateTimeEditor and EditFormat for the WebInput, it works fine when I select date from the DateTimeEditor. However, when I try to populated the field manually (e.g. 10-OCT-10) then press either TAB/Enter, the value disappears from the WebInput. Can you tell me what change I have to make to get this work? &lt;/p&gt;
&lt;p&gt;Moreover, when I run the same piece of code in Mozilla(Firefox), the DateTimeEditor doesn't work at all. After I have selected a date from the Editor, the value always becomes Today date.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;The following is my code&lt;/p&gt;&lt;pre&gt;    &amp;lt;form id="form1" runat="server"&amp;gt;
        &amp;lt;div&amp;gt;
            &amp;lt;ISWebGrid:WebGrid ID="WebGrid1" runat="server" Height="252px" UseDefaultStyle="True"
        Width="745px" DataSourceID="SqlDataSource1" DefaultStyleMode="Black"&amp;gt;
                &amp;lt;LayoutSettings AllowEdit="Yes" AllowBatchUpdate="True" EditOnClick="True" 
                    ResetNewRowValuesOnError="False" VerboseEditingInformation="True"&amp;gt;
                    &amp;lt;BatchUpdateSettings AllowReviewChanges="True" AutomaticObjectUpdate="False" 
                        NotifyOnLostFocus="True" /&amp;gt;
&amp;lt;BatchUpdateSettings AllowReviewChanges="True" AutomaticObjectUpdate="False" NotifyOnLostFocus="True"&amp;gt;&amp;lt;/BatchUpdateSettings&amp;gt;
                &amp;lt;/LayoutSettings&amp;gt;
                &amp;lt;RootTable&amp;gt;
                    &amp;lt;Columns&amp;gt;
                        &amp;lt;ISWebGrid:WebGridColumn Caption="id" DataMember="id" DataType="System.Int32" 
                            Name="id" Width="100px"&amp;gt;
                        &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                        &amp;lt;ISWebGrid:WebGridColumn Caption="name" DataMember="name" Name="name" 
                            Width="100px"&amp;gt;
                        &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                        &amp;lt;ISWebGrid:WebGridColumn Caption="address" DataMember="address" Name="address" 
                            Width="100px"&amp;gt;
                        &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                        &amp;lt;ISWebGrid:WebGridColumn Caption="phone" DataMember="phone" Name="phone" 
                            Width="100px"&amp;gt;
                        &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                        &amp;lt;ISWebGrid:WebGridColumn Caption="active" DataMember="active" 
                            DataType="System.Int32" Name="active" Width="100px"&amp;gt;
                        &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                        &amp;lt;ISWebGrid:WebGridColumn Caption="dob" ColumnType="Custom" 
                            CustomEditorName="WebInputNET" 
                            DataMember="dob" EditType="Custom" Name="dob" DataFormatString="dd-MMM-yy"
                            Width="100px" CustomEditorServerId="WebInput1"&amp;gt;
                        &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                        &amp;lt;ISWebGrid:WebGridColumn Caption="port" DataMember="port" 
                            DataType="System.Int32" Name="port" Width="100px"&amp;gt;
                        &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                    &amp;lt;/Columns&amp;gt;
                &amp;lt;/RootTable&amp;gt;
                &amp;lt;FlyPostBackSettings PostHiddenFields="False" PostViewState="False" /&amp;gt;

&amp;lt;FlyPostBackSettings PostViewState="False" PostHiddenFields="False"&amp;gt;&amp;lt;/FlyPostBackSettings&amp;gt;
    &amp;lt;/ISWebGrid:WebGrid&amp;gt;
            &amp;lt;asp:SqlDataSource ...&amp;gt;&amp;lt;/asp:SqlDataSource&amp;gt;
 
            &amp;lt;ISWebInput:WebInput ID="WebInput1" runat="server" DecimalSeparator="" 
                MaxDate="12/31/9998 23:59:59" MinDate="1753-01-01"&amp;gt;
                &amp;lt;HighLight IsEnabled="True" Type="Phrase" /&amp;gt;
                &amp;lt;editformat format="dd-MMM-yy" isenabled="True" maxdropdownyear="2050" 
                    mindropdownyear="1950"&amp;gt;
                    &amp;lt;MaskInfo MaskExpression="00-LLL-00"&amp;gt;
                    &amp;lt;/MaskInfo&amp;gt;
                &amp;lt;/editformat&amp;gt;

&amp;lt;DisplayFormat&amp;gt;
&amp;lt;ErrorWindowInfo IsEnabled="False"&amp;gt;&amp;lt;/ErrorWindowInfo&amp;gt;
&amp;lt;/DisplayFormat&amp;gt;

&amp;lt;DateTimeEditor DateInputLink="" isenabled="True"&amp;gt;
&amp;lt;DropDownYearFrameStyle BackColor="#FFFFFF" BorderColor="Black" BorderWidth="1px"&amp;gt;&amp;lt;/DropDownYearFrameStyle&amp;gt;

&amp;lt;DropDownMonthFrameStyle BackColor="#FFFFFF" BorderColor="Black" BorderWidth="1px"&amp;gt;&amp;lt;/DropDownMonthFrameStyle&amp;gt;
&amp;lt;/DateTimeEditor&amp;gt;

&amp;lt;CultureInfo CultureName="en-US"&amp;gt;&amp;lt;/CultureInfo&amp;gt;
            &amp;lt;/ISWebInput:WebInput&amp;gt;
 
        &amp;lt;/div&amp;gt;
    &amp;lt;/form&amp;gt;&lt;/pre&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Kenny&lt;/p&gt;</description></item></channel></rss>