﻿<?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 - SelectedObject's Element is not available yet in this event. </title><link>http://www.intersoftsolutions.com/Community/WebGrid/SelectedObjects-Element-is-not-available-yet-in-this-event/</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>SelectedObject's Element is not available yet in this event. </title><link>http://www.intersoftsolutions.com/Community/WebGrid/SelectedObjects-Element-is-not-available-yet-in-this-event/</link><pubDate>Sun, 20 Mar 2011 22:51:03 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Thank you for the sent sample.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;I’m currently still investigating this issue and need more time to provide you with solution, suggestion, or sample. I’ll get back to you as soon as possible.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>SelectedObject's Element is not available yet in this event. </title><link>http://www.intersoftsolutions.com/Community/WebGrid/SelectedObjects-Element-is-not-available-yet-in-this-event/</link><pubDate>Thu, 17 Mar 2011 00:25:17 GMT</pubDate><dc:creator>rogerchen.tangshuo@gmail.com</dc:creator><description>&lt;p&gt;I create a sample project show the issue 2, you can use "create table.sql" file to create table and data. my db name is SampleDB.&lt;/p&gt;
&lt;p&gt;when set "wg2" AllowAutoDataCaching = False, issue 1 will happen.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;thanks.&lt;/p&gt;</description></item><item><title>SelectedObject's Element is not available yet in this event. </title><link>http://www.intersoftsolutions.com/Community/WebGrid/SelectedObjects-Element-is-not-available-yet-in-this-event/</link><pubDate>Wed, 16 Mar 2011 04:04:27 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;I tried to reproduce the problem in my local by creating a simple sample of WebGrid based on your description, but my efforts were not successful. I know that I might miss something during my attempt to reproduce the issue.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;I’m willing to advice you further but in order to do so I would need you to elaborate on your specific scenario by give us a running simple sample that replicates the issue and a step-by-step guide that we can use to observe the problematic behavior.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>SelectedObject's Element is not available yet in this event. </title><link>http://www.intersoftsolutions.com/Community/WebGrid/SelectedObjects-Element-is-not-available-yet-in-this-event/</link><pubDate>Mon, 14 Mar 2011 22:19:24 GMT</pubDate><dc:creator>rogerchen.tangshuo@gmail.com</dc:creator><description>&lt;p&gt;I found two problems.&lt;/p&gt;
&lt;p&gt;1. when i sort webgrid A by click someone column head(expanded child status), it still show error &lt;span style="font-family: arial"&gt;"System.Exception: SelectedObject's Element is not available yet in this event.". I set RestoreRowSelection = All, but still show same error.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial"&gt;2.webgrid&amp;nbsp;A have two rows(a_rows1 and a_rows2), When i expanded a_rows2, select first child row, webgrid B display right(pic1),&amp;nbsp;&amp;nbsp;When i expand a_rows1, select first child row of the a_rows1, webgrid B still display right, after this operation, i select first child row of a_rows2 again, WebGrid B display error information(pic2). when i select secondly child row of a_rows2,WebGrid B&amp;nbsp;display information corresponding first child row of the a_rows2(pic3), when i select&amp;nbsp;third child row of a_rows2,WebGrid B&amp;nbsp;display information corresponding secondly child row of the a_rows2(pic4), When i shrink a_rows1, then select first(second or third) child row of a_rows2, WebGrid B display right(pic5). i&amp;nbsp;debug the code, when&amp;nbsp;&amp;nbsp;a_rows1 is expand,&amp;nbsp;get&amp;nbsp;information by &amp;nbsp;"&lt;/span&gt;&lt;span style="font-family: arial"&gt;RetrieveClientLastSelectedObject()" function is not right. is this a bug?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial"&gt;thanks&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style="font-family: arial"&gt;&lt;/span&gt; &lt;/p&gt;</description></item><item><title>SelectedObject's Element is not available yet in this event. </title><link>http://www.intersoftsolutions.com/Community/WebGrid/SelectedObjects-Element-is-not-available-yet-in-this-event/</link><pubDate>Mon, 14 Mar 2011 06:52:30 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Glad to hear the good news.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Should you need further assistance or run into any technical problems regarding our controls, feel free to post it into our community site. We would be happy to assist you again.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>SelectedObject's Element is not available yet in this event. </title><link>http://www.intersoftsolutions.com/Community/WebGrid/SelectedObjects-Element-is-not-available-yet-in-this-event/</link><pubDate>Mon, 14 Mar 2011 04:18:52 GMT</pubDate><dc:creator>rogerchen.tangshuo@gmail.com</dc:creator><description>&lt;p&gt;Thanks a lot, This't OK!&lt;/p&gt;</description></item><item><title>SelectedObject's Element is not available yet in this event. </title><link>http://www.intersoftsolutions.com/Community/WebGrid/SelectedObjects-Element-is-not-available-yet-in-this-event/</link><pubDate>Mon, 14 Mar 2011 03:59:01 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;This behavior is not an issue.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;During PostBack or FlyPostBack, expanded child row will be collapsed at once. Thanks to the WebGrid development team that has included a nice enhancement to preserve expanded child rows automatically. A new property named &lt;em&gt;RestoreExpandedChildRows&lt;/em&gt; is now added to the LayoutSettings.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;When enabled, WebGrid automatically tracks the child rows that end users expanded during user interaction. Next, when users performed any FlyPostBack&amp;trade; actions - such as sorting, refresh, filtering, etc - WebGrid will restore any matching child rows that expanded previously. This long-awaited enhancement is also applicable to any level of nested tables.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;To enable this feature, simply set &lt;em&gt;RestoreExpandedChildRows&lt;/em&gt; property to true value.&lt;/span&gt;&lt;/p&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>SelectedObject's Element is not available yet in this event. </title><link>http://www.intersoftsolutions.com/Community/WebGrid/SelectedObjects-Element-is-not-available-yet-in-this-event/</link><pubDate>Mon, 14 Mar 2011 02:14:22 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;I was able to reproduce the issue on my local end.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;This issue will be forwarded to WebGrid development team to be investigated further. I’ll get back to you as soon as I heard any news from the dev team regarding this issue.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>SelectedObject's Element is not available yet in this event. </title><link>http://www.intersoftsolutions.com/Community/WebGrid/SelectedObjects-Element-is-not-available-yet-in-this-event/</link><pubDate>Sun, 13 Mar 2011 23:06:05 GMT</pubDate><dc:creator>rogerchen.tangshuo@gmail.com</dc:creator><description>&lt;p&gt;two webgrid in one page(grid a and grid b), webgrid a display hierarchical data, when select children table row, refresh webgrid b by client code,  in b_InitializePostBack event, &lt;/p&gt;&lt;pre&gt;                    SelectedObject selObj = a.RetrieveClientLastSelectedObject();
                    WebGridRow selRow = (WebGridRow)selObj.GetElement();
&lt;/pre&gt;
&lt;p&gt;this row "&lt;span style="color: #ff0000"&gt;WebGridRow selRow = (WebGridRow)selObj.GetElement();"&lt;/span&gt; throw a error.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial"&gt;"System.Exception: SelectedObject's Element is not available yet in this event." why?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial"&gt;WebGrid version is 6.0.7200.220.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial"&gt;thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>