﻿<?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 - WebGrid: disappearing columns and scrolling slider locked</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-disappearing-columns-and-scrolling-slider-locked/</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>WebGrid: disappearing columns and scrolling slider locked</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-disappearing-columns-and-scrolling-slider-locked/</link><pubDate>Thu, 15 Aug 2013 04:10:23 GMT</pubDate><dc:creator>handysurya2303@gmail.com</dc:creator><category>WebGrid</category><category>bug</category><category>crash</category><category>visible</category><category>column</category><category>slider</category><category>columns</category><category>locked</category><description>&lt;p&gt;Hello Eric,&lt;/p&gt;&lt;p&gt;It has been fixed before. It seems the issue is back (regression). I need more time to replicate in a simple sample for this issue. Because the previous one that I raised in my old simple sample already worked well. Perhaps, need to cover another case.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>WebGrid: disappearing columns and scrolling slider locked</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-disappearing-columns-and-scrolling-slider-locked/</link><pubDate>Tue, 13 Aug 2013 04:46:52 GMT</pubDate><dc:creator>Eric</dc:creator><category>WebGrid</category><category>bug</category><category>crash</category><category>visible</category><category>column</category><category>slider</category><category>columns</category><category>locked</category><description>&lt;blockquote&gt;&lt;p&gt;Regarding Slider bug issues, this has been fixed in 2011R1.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I just tested with 2012R2 trial and it is not fixed. Can you re-investigate please or tell me when it gets fixed?&lt;/p&gt;</description></item><item><title>WebGrid: disappearing columns and scrolling slider locked</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-disappearing-columns-and-scrolling-slider-locked/</link><pubDate>Fri, 22 Jul 2011 03:45:18 GMT</pubDate><dc:creator>Eric</dc:creator><category>WebGrid</category><category>bug</category><category>crash</category><category>visible</category><category>column</category><category>slider</category><category>columns</category><category>locked</category><description>&lt;p&gt;Hi Handy,&lt;/p&gt;&lt;p&gt;Did you mean this event list?&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;WebGrid_PreInitialize 
&lt;/li&gt;&lt;li&gt;WebGrid_Initialize 
&lt;/li&gt;&lt;li&gt;Page_Load: Event loading of the current page 
&lt;/li&gt;&lt;li&gt;WebGrid_InitializeLayout: Layout initialization such as assigning static 
behavior, appearance and styles 
&lt;/li&gt;&lt;li&gt;WebGrid_InitializeDataSource: Data source initialization 
&lt;/li&gt;&lt;li&gt;WebGrid_PrepareDataBinding: Column structure retrieval and creation of 
necessary objects 
&lt;/li&gt;&lt;li&gt;WebGrid_Load: Indication of successfully preparation of data binding 
process and data populatingin all rows 
&lt;/li&gt;&lt;li&gt;&amp;lt;&amp;lt;ServerControl Events&amp;gt;&amp;gt; - if Page.IsPostBack: Execution of 
server control events such as Button1_Click 
&lt;/li&gt;&lt;li&gt;Page_PreRender 
&lt;/li&gt;&lt;li&gt; ... 
&lt;/li&gt;&lt;li&gt;WebGrid_Load 
&lt;/li&gt;&lt;li&gt;WebGrid_PreRender 
&lt;/li&gt;&lt;li&gt; ... 
&lt;/li&gt;&lt;li&gt;Page_SaveViewState 
&lt;/li&gt;&lt;li&gt;Page_Render 
&lt;/li&gt;&lt;li&gt; ... 
&lt;/li&gt;&lt;li style="list-style-type: none;"&gt;WebGrid_InitializeTable 
&lt;/li&gt;&lt;li&gt;WebGrid_InitializeColumn 
&lt;/li&gt;&lt;li&gt;WebGrid_InitializeRow 
&lt;/li&gt;&lt;li&gt;WebGrid_InitializeCell 
&lt;/li&gt;&lt;li&gt;... 
&lt;/li&gt;&lt;li&gt;WebGrid_Unload&lt;/li&gt;&lt;/ol&gt;If yes, I do know this very well, but 
it just lists the order, nothing else; no description. And also I 
expected to have this on your homepage (like earlier) and not only 
installed with the product somewhere.&lt;br /&gt;&lt;br /&gt;And for the Control.PreRender event the (Microsoft) description only says:&lt;br /&gt;
&lt;p&gt;&lt;em&gt;Occurs after the Control&lt;span /&gt; 
object is loaded but prior to rendering.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Use this event to perform any updates before the server control is rendered 
to the page. Any changes in the view state of the server control can be saved 
during this event. Such changes made in the rendering phase will not be 
saved.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;That's not really much information, as you write as 
well. So yes, please update the documentation (and put it to your 
homepage too).&lt;/p&gt;Thanks, Eric</description></item><item><title>WebGrid: disappearing columns and scrolling slider locked</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-disappearing-columns-and-scrolling-slider-locked/</link><pubDate>Thu, 21 Jul 2011 22:28:47 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>WebGrid</category><category>bug</category><category>crash</category><category>visible</category><category>column</category><category>slider</category><category>columns</category><category>locked</category><description>&lt;p&gt;Hi Eric,&lt;/p&gt;&lt;p&gt;There is no much detail information about PreRender event. I will try to ask our developer regarding this information. For information, you can see our WebGrid server side sequence life cycle in our documentation (Features and Concepts&amp;gt;&amp;gt;Events&amp;gt;&amp;gt;Event sequence of server side event).&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>WebGrid: disappearing columns and scrolling slider locked</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-disappearing-columns-and-scrolling-slider-locked/</link><pubDate>Thu, 21 Jul 2011 04:59:31 GMT</pubDate><dc:creator>Eric</dc:creator><category>WebGrid</category><category>bug</category><category>crash</category><category>visible</category><category>column</category><category>slider</category><category>columns</category><category>locked</category><description>&lt;p&gt;Hi Handy,&lt;/p&gt;&lt;p&gt;Thanks for your feedback. This workaround looks much better. The original sample doesn't crash anymore when doing the same things. I have to test if anything else doesn't work anymore though, which might take some time, but from this change I don't expect any such problems.&lt;/p&gt;
&lt;p&gt;So to summarize this in short: In the PreRender event it is forbidden to touch the grd.RootTable columns, or at least it is not reliable to touch them as they can disappear because they internally get overwritten by client content at this stage.&lt;/p&gt;
&lt;p&gt;Is this behaviour documented somewhere? If not, please describe this in the PreRender event. Can you also add a link to that description in this thread please?&lt;/p&gt;
&lt;p&gt;Thanks, Eric&lt;br /&gt;&lt;/p&gt;</description></item><item><title>WebGrid: disappearing columns and scrolling slider locked</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-disappearing-columns-and-scrolling-slider-locked/</link><pubDate>Thu, 21 Jul 2011 02:52:39 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>WebGrid</category><category>bug</category><category>crash</category><category>visible</category><category>column</category><category>slider</category><category>columns</category><category>locked</category><description>&lt;p&gt;Hi Eric,&lt;/p&gt;&lt;p&gt;Here is the reason why it is not said as bug.&lt;/p&gt;
&lt;p&gt;When postback, it’s too early because the columns are then overridden with the setting which is sent from the client-side. That’s why Column D is gone.&lt;/p&gt;
&lt;p&gt;To address this issue, there is others workaround.&lt;/p&gt;&lt;pre&gt; Private Sub InitializeColumns()
        Const cDataWidth As Integer = 80
        AddHiddenGridColumn(grdUpper, "Upper_Id", "Upper_Id")
        AddHiddenGridColumn(grdUpper, "Upper_Parent_Id", "Upper_Parent_Id")
        AddGridColumn(grdUpper, "Description", "Description", "Description", cWidthUpperDescription)
        AddGridColumn(grdUpper, "A", "A", "A", Nothing, Sorting.Yes, Nothing, cColorLeft, HorizontalAlign.Left, cDataWidth)
        AddGridColumn(grdUpper, "B", "B", "B", Nothing, Sorting.Yes, Nothing, cColorLeft, HorizontalAlign.Left, cDataWidth)
        AddGridColumn(grdUpper, "C", "C", "C", Nothing, Sorting.Yes, Nothing, cColorLeft, HorizontalAlign.Left, cDataWidth)
        AddGridColumn(grdUpper, "D", "D", "D", Nothing, Sorting.Yes, Nothing, cColorLeft, HorizontalAlign.Left, cDataWidth)
        grdUpper.RootTable.DataKeyField = "Upper_Id"
        grdUpper.RootTable.SelfReferencingSettings.ChildDataMember = "Upper_Parent_Id"
        grdUpper.RootTable.SelfReferencingSettings.Enabled = True
        grdUpper.RootTable.SelfReferencingSettings.ParentDataMember = "Upper_Id"
        grdUpper.RootTable.SelfReferencingSettings.ExpandColumnMember = "Description"
        grdUpper.RootTable.SelfReferencingSettings.LoadOnDemand = False
        grdUpper.RootTable.SelfReferencingSettings.ApplyChildSorting = True
    End Sub
 Protected Sub grdUpper_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles grdUpper.Init
        If (Not IsPostBack) Then
            InitializeColumns()
        End If
    End Sub
 Protected Sub grdUpper_Load(sender As Object, e As System.EventArgs) Handles grdUpper.Load
        If IsPostBack Then
            grdUpper.RootTable.Columns.Clear()
            InitializeColumns()
        End If
    End Sub&lt;/pre&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>WebGrid: disappearing columns and scrolling slider locked</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-disappearing-columns-and-scrolling-slider-locked/</link><pubDate>Tue, 19 Jul 2011 02:31:05 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>WebGrid</category><category>bug</category><category>crash</category><category>visible</category><category>column</category><category>slider</category><category>columns</category><category>locked</category><description>&lt;p&gt;Hi Eric,&lt;/p&gt;&lt;p&gt;I have forwarded your feedback to our developer. I will update to you when there is a progress regarding this issue or not.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>WebGrid: disappearing columns and scrolling slider locked</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-disappearing-columns-and-scrolling-slider-locked/</link><pubDate>Tue, 12 Jul 2011 11:47:45 GMT</pubDate><dc:creator>Eric</dc:creator><category>WebGrid</category><category>bug</category><category>crash</category><category>visible</category><category>column</category><category>slider</category><category>columns</category><category>locked</category><description>&lt;p&gt;Hi Handy,&lt;/p&gt;&lt;p&gt;I looked at your code again. You moved the column creations from .Init to .PrepareDataBinding and added a RootTable.Columns.Clear before the creation. You also moved the footer code from the Page.Load to the grdLower_PrepareDataBinding. But the main change is that in SetColumnVisibility you check if column D exists and if not you just create it.&lt;/p&gt;
&lt;p&gt;This can't be your proposed solution, right? If you create the columns and then later when you use them, one column suddenly disappears, you just recreate it? And then you tell me this was a bug in my code and not in your product?&lt;/p&gt;
&lt;p&gt;Please fix this bug instead of providing me non-working workarounds.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Eric&lt;br /&gt;&lt;/p&gt;</description></item><item><title>WebGrid: disappearing columns and scrolling slider locked</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-disappearing-columns-and-scrolling-slider-locked/</link><pubDate>Fri, 01 Jul 2011 04:12:53 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>WebGrid</category><category>bug</category><category>crash</category><category>visible</category><category>column</category><category>slider</category><category>columns</category><category>locked</category><description>&lt;p&gt;Hello Eric,&lt;/p&gt;&lt;p&gt;Yes, I understand about our last conversation. But after investigate the issue deeply, our developer teams thinks that the error correctly come from the level code (Column D is null). Also, my latest changes is different from my previous posts. &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>WebGrid: disappearing columns and scrolling slider locked</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-disappearing-columns-and-scrolling-slider-locked/</link><pubDate>Tue, 21 Jun 2011 08:37:46 GMT</pubDate><dc:creator>Eric</dc:creator><category>WebGrid</category><category>bug</category><category>crash</category><category>visible</category><category>column</category><category>slider</category><category>columns</category><category>locked</category><description>&lt;p&gt;Hello Handy&lt;/p&gt;
&lt;p&gt;There is no error in the code. I know that the column "D" is null. This is the bug. I want that the column "D" no longer randomly disappears. I am changing visiblity and stuff, but the column should always be accessible by servers-side code. The column may disappear on the client-side if it is not visible though, but never on the server-side.&lt;/p&gt;
&lt;p&gt;In your new sample you modified the code. I do know that it is possible to write different samples that do work. But it is not the same sample anymore. We could now get into long discussions about requirements etc. but I just want the original sample to not crash anymore -  with the unchanged code. (Or show me where I programmed something violating your specification. Point me to the documentation to what I didn't obey in this case.)&lt;/p&gt;
&lt;p&gt;We had those requirements discussions already and finally you confirmed that it is a bug. Please read the thread again if you need to recall. I have a (bad) workaround already, but I need this bug fixed. Thanks.&lt;/p&gt;</description></item><item><title>WebGrid: disappearing columns and scrolling slider locked</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-disappearing-columns-and-scrolling-slider-locked/</link><pubDate>Tue, 21 Dec 2010 05:24:16 GMT</pubDate><dc:creator>Eric</dc:creator><category>WebGrid</category><category>bug</category><category>crash</category><category>visible</category><category>column</category><category>slider</category><category>columns</category><category>locked</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have created a demo-project for you which shows the problems. Please see attached ZIP.&lt;/p&gt;
&lt;p&gt;Please include the Intersoft framework 3.0.5000.705, WebGrid 6.0.7200.220, System.Web.Extensions.dll 1.0.61231.0, AjaxControlToolkit.dll 1.0.10606.0, AJAXExtensionsToolbox.dll 1.0.61025.0 in order to get the same results. Please also set the .NET Target Framework to 2.0.&lt;/p&gt;
&lt;p&gt;To reproduce the problem:&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;select in the dropdown "ABC" and click refresh button&lt;/li&gt;&lt;li&gt;in the upper WebGrid make the first column wider (resize it)&lt;/li&gt;&lt;li&gt;click on any row in the upper WebGrid&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Now the application crashes trying to access grdUpper.RootTable.Columns.GetNamedItem("D"). Please note that the first column is only set to Visible=false, never it's missing.&lt;/p&gt;
&lt;p&gt;Also, this only happens if the first column is resized. If not touching this, it works.&lt;/p&gt;
&lt;p&gt;As an additional bug, in the lower grid the slider to move between different pages doesn't work. Only the &amp;#43; and - buttons move the slider.&lt;/p&gt;
&lt;p&gt;My questions:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Can you confirm these two bugs?&lt;/li&gt;&lt;li&gt;Will there be a hotfix for it?&lt;/li&gt;&lt;li&gt;Do you know of any&amp;nbsp;workaround possible?&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Eric&lt;/p&gt;</description></item></channel></rss>