﻿<?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 - WebInput Unable to be in "Edit Mode" after WebGrid calling Refresh All</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebInput-Unable-to-be-in-Edit-Mode-after-WebGrid-calling-Refresh-All/</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>WebInput Unable to be in "Edit Mode" after WebGrid calling Refresh All</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebInput-Unable-to-be-in-Edit-Mode-after-WebGrid-calling-Refresh-All/</link><pubDate>Thu, 21 Feb 2013 04:14:16 GMT</pubDate><dc:creator>bernard</dc:creator><category>WebGrid</category><category>WebInput</category><category>Javascript Error</category><category>EditMode</category><category>RefreshAll</category><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;This issue has been solved in WebGrid 8 Build 251. You can try our hotfix and please let us know if there's another issue in your local end. Hope this helps.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Bernard&lt;/p&gt;</description></item><item><title>WebInput Unable to be in "Edit Mode" after WebGrid calling Refresh All</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebInput-Unable-to-be-in-Edit-Mode-after-WebGrid-calling-Refresh-All/</link><pubDate>Mon, 17 Dec 2012 21:21:09 GMT</pubDate><dc:creator>bernard</dc:creator><category>WebGrid</category><category>WebInput</category><category>Javascript Error</category><category>EditMode</category><category>RefreshAll</category><description>&lt;p&gt;Hi Dennis,&lt;/p&gt;&lt;p&gt;Sorry for the late responses. Actually I can replicate your issue in your local end. This problem might be happen because WebGrid RefreshAll() function reload the data and structure inside WebGrid. When I using Refresh(), this issue doesn't happen. I've made this as Urgent Work Item #1289. I'll let you know anything regarding this Work Item #1289.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Bernard&lt;/p&gt;</description></item><item><title>WebInput Unable to be in "Edit Mode" after WebGrid calling Refresh All</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebInput-Unable-to-be-in-Edit-Mode-after-WebGrid-calling-Refresh-All/</link><pubDate>Thu, 13 Dec 2012 21:02:26 GMT</pubDate><dc:creator>d4dennis</dc:creator><category>WebGrid</category><category>WebInput</category><category>Javascript Error</category><category>EditMode</category><category>RefreshAll</category><description>&lt;p&gt;Hi There,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Im having a similar issue, is there a fix already ?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;</description></item><item><title>WebInput Unable to be in "Edit Mode" after WebGrid calling Refresh All</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebInput-Unable-to-be-in-Edit-Mode-after-WebGrid-calling-Refresh-All/</link><pubDate>Wed, 12 Oct 2011 00:48:16 GMT</pubDate><dc:creator>hendrik</dc:creator><category>WebGrid</category><category>WebInput</category><category>Javascript Error</category><category>EditMode</category><category>RefreshAll</category><description>Hi,&lt;br /&gt;&lt;br /&gt;I tried to integrate WebInput programmatically. However, the issue still persists. So, I think there is no workaround for now. I will report this bug to our developer teams and will let you know when the fix is ready.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;regards,&lt;br /&gt;&lt;br /&gt;Hendrik&lt;br /&gt;</description></item><item><title>WebInput Unable to be in "Edit Mode" after WebGrid calling Refresh All</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebInput-Unable-to-be-in-Edit-Mode-after-WebGrid-calling-Refresh-All/</link><pubDate>Tue, 11 Oct 2011 06:09:54 GMT</pubDate><dc:creator>interfung</dc:creator><category>WebGrid</category><category>WebInput</category><category>Javascript Error</category><category>EditMode</category><category>RefreshAll</category><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I had look into the javascript's error and found that the error is related to a missing object.&lt;/p&gt;
&lt;p&gt;The javascript error is caused by below snippet:&lt;/p&gt;&lt;pre&gt;with(vb3598.style) &lt;/pre&gt;
&lt;p&gt;the above function is called by :&lt;/p&gt;&lt;pre&gt;function wgDispObjGeneric(v9b147, &lt;span style="color: red; "&gt;v95951&lt;/span&gt;, v01860, vcd931, v04925, v46570, v7fa21, v4e033) {
    wg5ce7.m49b17(v9b147, &lt;span style="color: red; "&gt;v95951&lt;/span&gt;, v01860, vcd931, v04925, v46570, v7fa21, v4e033);
}&lt;/pre&gt;
&lt;p&gt;The highlighted object is the "Object required" (which is stated by IE's javascript error)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Since we need to call RefreshAll() in some of the work flow, is there any work around for this issue?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Fung&lt;/p&gt;</description></item><item><title>WebInput Unable to be in "Edit Mode" after WebGrid calling Refresh All</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebInput-Unable-to-be-in-Edit-Mode-after-WebGrid-calling-Refresh-All/</link><pubDate>Tue, 04 Oct 2011 02:37:12 GMT</pubDate><dc:creator>hendrik</dc:creator><category>WebGrid</category><category>WebInput</category><category>Javascript Error</category><category>EditMode</category><category>RefreshAll</category><description>&lt;p class="MsoNormal" style="margin: 0in 0in 10pt"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;Hi,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 10pt"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;I can replicate the issue in here. The issue only happens when using RefreshAll(). I will report this bug to our developer teams and will let you know when the fix is ready.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WebInput Unable to be in "Edit Mode" after WebGrid calling Refresh All</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebInput-Unable-to-be-in-Edit-Mode-after-WebGrid-calling-Refresh-All/</link><pubDate>Mon, 03 Oct 2011 06:21:35 GMT</pubDate><dc:creator>interfung</dc:creator><category>WebGrid</category><category>WebInput</category><category>Javascript Error</category><category>EditMode</category><category>RefreshAll</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;To Reproduce the issue:&lt;/p&gt;
&lt;p /&gt;
&lt;ol&gt;&lt;li&gt;A WebInput control for inputing Date Time (with Edit &amp;amp; display format and also mask exp.)&lt;/li&gt;&lt;li&gt;Integrate the WebInput (from 1.) into WebGrid's columns&lt;/li&gt;&lt;li&gt;Add A Button to Call WebGrid's Refresh All&lt;/li&gt;&lt;li&gt;Run the Project&lt;/li&gt;&lt;li&gt;Enter Edit mode for column with WebInput as input control&lt;/li&gt;&lt;li&gt;Press the Refresh Button&lt;/li&gt;&lt;li&gt;Try to Enter Edit mode for the same column again&lt;/li&gt;&lt;li&gt;JavaScript Error&lt;/li&gt;&lt;/ol&gt;
&lt;div&gt;&lt;pre&gt;Message: Object required
Line: 7
Char: 24063
Code: 0
URI: http://localhost:4933/ISRes.axd?G/WebGrid_Edit.js/707200431&lt;/pre&gt;&lt;p&gt;WebGrid's version: 7.0.7200.431&lt;/p&gt;&lt;p&gt;WebInput's version: 4.0.7200.29&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks and Regards,&lt;/p&gt;&lt;p&gt;Fung&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p /&gt;&lt;p&gt;Below is the Code for reproducing the error.&lt;/p&gt;&lt;p /&gt;&lt;p&gt;ASPX Code:&lt;/p&gt;&lt;p /&gt;&lt;pre&gt;&amp;lt;%@ Page Language="vb" AutoEventWireup="false" CodeBehind="WebForm1.aspx.vb" Inherits="NewTest.WebForm1" %&amp;gt;
&amp;lt;%@ Register Assembly="NewTest" Namespace="NewTest" TagPrefix="cc1" %&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;html&amp;gt;
&amp;lt;head runat="server"&amp;gt;
    &amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;
    &amp;lt;script type="text/javascript"&amp;gt;
        function testRefresh() {
            var wg = ISGetObject("WebGrid1");
            wg.RefreshAll();
        }
    &amp;lt;/script&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;input type="button" id="btn" onclick="testRefresh()" value="Refresh" /&amp;gt;
                &amp;lt;ISWebGrid:WebGrid ID="WebGrid1" runat="server" Height="500px" Width="500px" 
                    UseDefaultStyle="True" 
                    DefaultStyleMode="Standard"&amp;gt;
                    &amp;lt;LayoutSettings AllowEdit="Yes" AllowBatchUpdate="True" AutoHeight="true"
                        AutoWidth="true" &amp;gt;
                        &amp;lt;BatchUpdateSettings AllowReviewChanges="True" /&amp;gt;
                    &amp;lt;/LayoutSettings&amp;gt;
                &amp;lt;/ISWebGrid:WebGrid&amp;gt;
        &amp;lt;ISWebInput:WebInput ID="WebInput1" runat="server" style="margin-bottom: 0px"&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 Format="dd MMM yyyy" IsEnabled="false" IsValidateOnChange="false"&amp;gt;
    &amp;lt;ErrorWindowInfo IsEnabled="False"&amp;gt;
    &amp;lt;/ErrorWindowInfo&amp;gt;
&amp;lt;/DisplayFormat&amp;gt;
            &amp;lt;DateTimeEditor DateInputLink="" IsEnabled="false"&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;ISWebInput:WebInput ID="WebInput2" runat="server"&amp;gt;
            &amp;lt;HighLight IsEnabled="True" Type="Phrase" /&amp;gt;
            &amp;lt;EditFormat Format="dd MMM yyyy" IsEnabled="true" Type="DateTime" IsValidateOnChange="false"&amp;gt;
                &amp;lt;MaskInfo MaskExpression="00 LLL 0000"&amp;gt;
                &amp;lt;/MaskInfo&amp;gt;
            &amp;lt;/EditFormat&amp;gt;
&amp;lt;DisplayFormat Format="dd MMM yyyy" IsEnabled="true" IsValidateOnChange="false"&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" EditValueByEditorOnly="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;&amp;nbsp;VB Code:&lt;/p&gt;&lt;p /&gt;&lt;pre&gt;Imports ISNet.WebUI.WebGrid
Public Class WebForm1
    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))
        dt.Columns.Add("strDate", GetType(String))
        dt.Columns.Add("DatePicker", GetType(Date))
        dt.Columns.Add("strDatePicker", GetType(String))
        For i As Integer = 1 To 100
            dt.Rows.Add(i &amp;amp; "_" &amp;amp; i, i, Now.AddDays(i).Date, Now.AddDays(i).ToString("dd MMM yyyy"), Now.AddDays(-i).Date, Now.AddDays(-i).Date.ToString("dd MMM yyyy"))
        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
        Me.WebInput2.UseDefaultStyle = True
        Dim wg As WebGrid = sender
        wg.RetrieveStructure()
        wg.RootTable.DataKeyField = "Str"
        For Each wgcol As WebGridColumn In wg.RootTable.Columns
            Select Case wgcol.Name.ToLower
                Case "datetime", "strdate"
                    wgcol.EditType = EditType.Custom
                    wgcol.DataFormatString = "dd MMM yyyy"
                    wgcol.CustomEditorName = "WebInputNET"
                    wgcol.CustomEditorServerId = "WebInput1"
                Case "datepicker", "strdatepicker"
                    wgcol.EditType = EditType.Custom
                    wgcol.DataFormatString = "dd MMM yyyy"
                    wgcol.CustomEditorName = "WebInputNET"
                    wgcol.CustomEditorServerId = "WebInput2"
            End Select
        Next
    End Sub
End Class&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p /&gt;&lt;p /&gt;&lt;/div&gt;
&lt;p /&gt;</description></item></channel></rss>