﻿<?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 - MSI</title><link>http://www.intersoftsolutions.com/Community/Tags/MSI/</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>Delete row functionality does not appear to be work </title><link>http://www.intersoftsolutions.com/Community/Tags/MSI/</link><pubDate>Fri, 01 Apr 2011 12:29:48 GMT</pubDate><dc:creator>petej</dc:creator><category>MSI</category><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;i have code in the deleterow event to persist the changes back to the database.&lt;/p&gt;
&lt;p&gt;althrough the row is removed from the grid the changes are not getting back to the database.&lt;/p&gt;
&lt;p&gt;On investigation is appear that the rowstate property of the data row has not been changed.&lt;/p&gt;
&lt;p&gt;i.e  rowstate = no change   where is should be marked as deleted.&lt;/p&gt;
&lt;p&gt;(therefore not removed from the database)&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;if performing an edit  the editrow event is firing and the rowstate is marked as changed.&lt;/p&gt;
&lt;p&gt;and works as expected. the database is updated.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;why is the rowstate not being marked up in the delete row event?&lt;/p&gt;
&lt;p&gt;Am i looking at the wrong event.&lt;/p&gt;
&lt;p&gt;Note this worked fine in webgrid 3.5.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;can you direct me in the right direction if i'm looking in the wrong place.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Peter&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>Webgrid javascript error  CellClickAction="CellSelect"</title><link>http://www.intersoftsolutions.com/Community/Tags/MSI/</link><pubDate>Thu, 17 Mar 2011 11:24:18 GMT</pubDate><dc:creator>petej</dc:creator><category>MSI</category><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;When i have the CellClickAction="CellSelect" on the webgrid control a javascript error is generated when a postback event is fire on another control.&lt;/p&gt;
&lt;p&gt;this only happens when using the preview row  setting &lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;PreviewRowVisible="true"&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #ff0000"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="color: #ff0000"&gt;The scenaro is as follows&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;1) expand preview row&lt;/p&gt;
&lt;p&gt;2) click button that fires postback evet.&lt;/p&gt;
&lt;p&gt;3) javascript error before page load event fired.&lt;/p&gt;&lt;span style="font-size: 13px"&gt;v2cf94.setAttribute(&lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;"cellIndex"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;,v00155.cellIndex);&lt;/span&gt; 

&lt;p&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;In our application this is stopping the user nagivating to another page.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;we can get around this issue by changing to "RowSelect"&lt;/p&gt;
&lt;p&gt;but still...............&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;aspx page code attached&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Peter&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt; &lt;/p&gt;

&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>webGrid Vanishes on postback</title><link>http://www.intersoftsolutions.com/Community/Tags/MSI/</link><pubDate>Thu, 17 Mar 2011 10:52:36 GMT</pubDate><dc:creator>petej</dc:creator><category>webgrid vanished on postback</category><category>MSI</category><description>&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;
&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;Hi&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;We have a problem with the webgrid auto width size property causing problems.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;when the auto size to true the grid is  vanishing when a postback event is firing.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;This is dependant on the initial column sizes in the grid and the size of the window in which the grid is being viewed.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;I have created an example scenario that illustrates  this issue. &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;scenario 1&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;1) browser window is open maximised. (do not maximise after load since the error is not generate in that scenario)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;2) &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;the total columns widths exceed the size of the window  but they fit since autosize property is true&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;3) click the button that fires a postback event.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;4) the grid vanishes.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;scenario 2&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;1) browser window is open maximised.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;2)&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;the total columns widths exceed the size of the window&amp;nbsp; but they fit since autosize property is true&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;3) resize the form&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;3) click the button that fires a postback event.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;4) the displays fine.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;This seems to be solely dependant on the intial size of the browser window when the form is loaded.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;This is not just down to intial colum widths being to large to fit.&amp;nbsp; adusting the intial widow size&amp;nbsp; up or down seems to resolve the issue in some cases.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;i.e if you resize the window before performing a postback event the grid does not vanish or reappears if it had disappeared.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;please can you look into this problem and advise me of a solution.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;the&amp;nbsp;problem is happening live systems. we did not have this issue with webgrid 2&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;I am using webgrid version&amp;nbsp; 7.0.7200.419&amp;nbsp;&amp;nbsp; web application running on framework 3.5&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;aspx page&amp;nbsp; attached&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: arial; font-size: 13px"&gt;&lt;span class="794052111-17032011"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;</description></item></channel></rss>