﻿<?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 - Unable to Integrating WebInput in Webgrid for date time input is not working</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Unable-to-Integrating-WebInput-in-Webgrid-for-date-time-input-is-not-working/</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>Unable to Integrating WebInput in Webgrid for date time input is not working</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Unable-to-Integrating-WebInput-in-Webgrid-for-date-time-input-is-not-working/</link><pubDate>Wed, 17 Jul 2019 07:57:57 GMT</pubDate><dc:creator>ysharma</dc:creator><category>WebGrid</category><category>WebInput</category><category>Date</category><category>DateTimePicker</category><category>DatePicker</category><category>Picker</category><category>Unable</category><description>&lt;p&gt;Hi Yudi,&lt;/p&gt;&lt;p&gt;I am using the datepicker and I am facing the issue, onlick of text box it shows the datepicker and i am not able to type the value in text box after pressing the "Esc" key, able to type in but that also not properly working as expected. is there any option to enable typing in even the datepicker is opened.&lt;/p&gt;&lt;p&gt;you can refer the below linked video to understand the issue.&lt;/p&gt;&lt;p&gt;&lt;a href="https://www.screencast.com/t/jchhZRCwA8hA" target="_blank" data-saferedirecturl="https://www.google.com/url?q=https://www.screencast.com/t/jchhZRCwA8hA&amp;amp;source=gmail&amp;amp;ust=1563433213823000&amp;amp;usg=AFQjCNH63LupAHyKErhu5wc5uC5vCqglwg" style="color: rgb(17, 85, 204); font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: rgb(255, 255, 255);"&gt;https://www.screencast.com/t/&lt;wbr&gt;jchhZRCwA8hA&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;</description></item><item><title>Unable to Integrating WebInput in Webgrid for date time input is not working</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Unable-to-Integrating-WebInput-in-Webgrid-for-date-time-input-is-not-working/</link><pubDate>Tue, 27 Sep 2011 03:36:49 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebGrid</category><category>WebInput</category><category>Date</category><category>DateTimePicker</category><category>DatePicker</category><category>Picker</category><category>Unable</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Could you confirm whether you are using the latest build of WebGrid, WebInput, WebUI.NET Framework? T tried to reproduce the problem in my local tests by creating a simple sample page based on the snippet code of your first post (plus the fix on the display format) -- everything worked smoothly and the precompiled content was accessed without any issues.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;We are willing to advise you further but in order to do so we would need you to elaborate on your specific scenario and possibly give us a running simple sample and step-by-step guide that we can use to observe the problematic behavior.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;You may modify the IntegrationwithWebInput.NET.aspx sample file that available in WebGridSamples project. Please send the modified sample to be investigated further.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Unable to Integrating WebInput in Webgrid for date time input is not working</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Unable-to-Integrating-WebInput-in-Webgrid-for-date-time-input-is-not-working/</link><pubDate>Wed, 21 Sep 2011 22:40:52 GMT</pubDate><dc:creator>interfung</dc:creator><category>WebGrid</category><category>WebInput</category><category>Date</category><category>DateTimePicker</category><category>DatePicker</category><category>Picker</category><category>Unable</category><description>&lt;p&gt;Thanks Yudi,&lt;/p&gt;&lt;p&gt;I had tried your fix, the value is now shown on the cell but the text and value always stays the same after modifying the cell (integrated with WebInput). &lt;/p&gt;
&lt;p&gt;i.e. in the 4th step in my last uploaded .png file, the cell is now filled with text, but the text is the same as what it was (9/25/2011 12:...) instead of the date I expected.&lt;/p&gt;
&lt;p&gt;Is there way to fix this issue?&lt;/p&gt;
&lt;p&gt;Thanks again,&lt;/p&gt;
&lt;p&gt;Fung&lt;/p&gt;</description></item><item><title>Unable to Integrating WebInput in Webgrid for date time input is not working</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Unable-to-Integrating-WebInput-in-Webgrid-for-date-time-input-is-not-working/</link><pubDate>Mon, 19 Sep 2011 10:59:45 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebGrid</category><category>WebInput</category><category>Date</category><category>DateTimePicker</category><category>DatePicker</category><category>Picker</category><category>Unable</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;The cell may seem to be empty, but actually it contains a value. You can try to double-click on the empty cell to get the actual value. The reason why the cell looks empty because of the "&lt;span style="font-weight: bold"&gt;DisplayFormat&lt;/span&gt;" property of WebInput is not correctly defined.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;span style="font-weight: bold"&gt;*DisplayFormat property represents display format information.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Please try to set the &lt;span style="font-weight: bold"&gt;DisplayFormat&lt;/span&gt; property into something like below.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;DisplayFormat Format="dd MMM yyyy" IsEnabled="true" Type="DateTime"&amp;gt;
    &amp;lt;ErrorWindowInfo IsEnabled="False"&amp;gt;
    &amp;lt;/ErrorWindowInfo&amp;gt;
&amp;lt;/DisplayFormat&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Unable to Integrating WebInput in Webgrid for date time input is not working</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Unable-to-Integrating-WebInput-in-Webgrid-for-date-time-input-is-not-working/</link><pubDate>Mon, 19 Sep 2011 07:08:00 GMT</pubDate><dc:creator>interfung</dc:creator><category>WebGrid</category><category>WebInput</category><category>Date</category><category>DateTimePicker</category><category>DatePicker</category><category>Picker</category><category>Unable</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I am trying to input date time in a WebGrid with a Masked WebInput as DateTime picker. But after I changed the date value, the cell become &lt;b&gt;empty.&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;I don't know if had made wrong settings for the WebGrid/ WebInput, I have attached Code below and the way to reproduce the issue (png file) for your reference. Please kindly assist. Thanks&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;ASPX Code:
&amp;lt;%@ Page Language="vb" AutoEventWireup="false" CodeBehind="DateInGrid.aspx.vb" Inherits="IntersoftTeseting.DateInGrid" %&amp;gt;
&amp;lt;%@ Register Assembly="ISNet.WebUI.WebInput" Namespace="ISNet.WebUI.WebControls"
    TagPrefix="ISWebInput" %&amp;gt;
&amp;lt;%@ Register Assembly="ISNet.WebUI.WebGrid" Namespace="ISNet.WebUI.WebGrid" TagPrefix="ISWebGrid" %&amp;gt;
&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;head runat="server"&amp;gt;
    &amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
    &amp;lt;form id="form1" runat="server"&amp;gt;
    &amp;lt;div&amp;gt;
        &amp;lt;ISWebGrid:WebGrid ID="WebGrid1" runat="server" Height="250px" UseDefaultStyle="true"
            Width="500px"&amp;gt;
            &amp;lt;LayoutSettings AllowEdit="Yes"&amp;gt;
            &amp;lt;/LayoutSettings&amp;gt;
        &amp;lt;/ISWebGrid:WebGrid&amp;gt;
        &amp;lt;ISWebInput:WebInput ID="WebInput1" runat="server"&amp;gt;
            &amp;lt;HighLight IsEnabled="True" Type="Phrase" /&amp;gt;
            &amp;lt;EditFormat Format="dd MMM yyyy" IsEnabled="true" Type="DateTime"&amp;gt;
                &amp;lt;MaskInfo MaskExpression="00 LLL 0000"&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" BorderStyle="Solid"
                    BorderWidth="1px"&amp;gt;
                &amp;lt;/DropDownYearFrameStyle&amp;gt;
                &amp;lt;DropDownMonthFrameStyle BackColor="#FFFFFF" BorderColor="Black" BorderStyle="Solid"
                    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;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;VB Code:
Imports ISNet.WebUI.WebGrid
Public Class DateInGrid
    Inherits System.Web.UI.Page
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    End Sub
    Public Function GetDiffData() As DataTable
        Dim dt As New DataTable
        dt.Columns.Add("Str", GetType(String))
        dt.Columns.Add("Int", GetType(Integer))
        dt.Columns.Add("DateTime", GetType(Date))
        For i As Integer = 1 To 100
            dt.Rows.Add(i &amp;amp; "_" &amp;amp; i, i, Now.AddDays(i).Date)
        Next
        Return dt
    End Function
    Private Sub WebGrid1_InitializeDataSource(ByVal sender As Object, ByVal e As ISNet.WebUI.WebGrid.DataSourceEventArgs) Handles WebGrid1.InitializeDataSource
        e.DataSource = GetDiffData()
    End Sub
    Private Sub WebGrid1_PrepareDataBinding(ByVal sender As Object, ByVal e As ISNet.WebUI.WebGrid.DataSourceEventArgs) Handles WebGrid1.PrepareDataBinding
        Dim wg As WebGrid = sender
        If Not IsPostBack Then
            wg.RetrieveStructure()
        End If
        For Each wgcol As WebGridColumn In wg.RootTable.Columns
            Select Case wgcol.Name.ToLower
                Case "datetime"
                    wgcol.EditType = EditType.Custom
                    'wgcol.DataFormatString = "dd MMM yyyy"
                    wgcol.CustomEditorName = "WebInputNET"
                    wgcol.CustomEditorServerId = "WebInput1"
            End Select
        Next
    End Sub
End Class&lt;/pre&gt;
&lt;p&gt;  &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p /&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Fung&lt;/p&gt;</description></item></channel></rss>