﻿<?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 7 SelectColumns Reset Causes JavaScript Error</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-7-SelectColumns-Reset-Causes-JavaScript-Error/</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 7 SelectColumns Reset Causes JavaScript Error</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-7-SelectColumns-Reset-Causes-JavaScript-Error/</link><pubDate>Sun, 20 Dec 2009 21:07:53 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hi Patrick,&lt;/p&gt;&lt;p&gt;Could you please send me a sample which replicates your issue? Also, if you don't mind, please create a new thread regarding this issue. I will need your sample to investigate the issue because R2 supports XHTML.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>WebGrid 7 SelectColumns Reset Causes JavaScript Error</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-7-SelectColumns-Reset-Causes-JavaScript-Error/</link><pubDate>Thu, 17 Dec 2009 11:19:04 GMT</pubDate><dc:creator>PRISMAY</dc:creator><description>&lt;blockquote&gt;&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;We have similar misalignment issue with IE7 in XHTML mode and the R2 didn't correct it. It looks like the issue is appearing when we set the width in pixel ...&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Patrick,&lt;/p&gt;
&lt;p&gt;Sometimes the alignment issues can be corrected by making sure the DOCTYPE is exactly as follows at the top of your pages and/or master page:&lt;/p&gt;&lt;span style="color: #0000ff; font-size: 9px"&gt;&lt;span style="color: #0000ff; font-size: 9px"&gt;
&amp;lt;!&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #a31515; font-size: 9px"&gt;&lt;span style="color: #a31515; font-size: 9px"&gt;DOCTYPE&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 9px"&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 9px"&gt;&lt;span style="color: #ff0000; font-size: 9px"&gt;HTML&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 9px"&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 9px"&gt;&lt;span style="color: #ff0000; font-size: 9px"&gt;PUBLIC&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 9px"&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 9px"&gt;&lt;span style="color: #0000ff; font-size: 9px"&gt;"-//W3C//DTD HTML 4.0 Transitional//EN"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 9px"&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 9px"&gt;&lt;span style="color: #0000ff; font-size: 9px"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;

&lt;p&gt;&lt;span style="color: #0000ff; font-size: 9px"&gt;&lt;span style="color: #0000ff; font-size: 9px"&gt;&lt;span style="color: #000000; font-size: 10pt"&gt;This info was directly from InterSoft and it did help in our situation under certain conditions.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WebGrid 7 SelectColumns Reset Causes JavaScript Error</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-7-SelectColumns-Reset-Causes-JavaScript-Error/</link><pubDate>Thu, 17 Dec 2009 11:12:53 GMT</pubDate><dc:creator>pchanez</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We have similar misalignment issue with IE7 in XHTML mode and the R2 didn't correct it. It looks like the issue is appearing when we set the width in pixel ...&lt;/p&gt;</description></item><item><title>WebGrid 7 SelectColumns Reset Causes JavaScript Error</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-7-SelectColumns-Reset-Causes-JavaScript-Error/</link><pubDate>Wed, 28 Oct 2009 00:50:27 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>I am sorry. Just want to correct what i said. They actually are the same. About contextMenu customization at header column, I still don't know exactly the time. Our developer teams have not give any news about that.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;Regards,&lt;br /&gt;Handy&lt;/div&gt;</description></item><item><title>WebGrid 7 SelectColumns Reset Causes JavaScript Error</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-7-SelectColumns-Reset-Causes-JavaScript-Error/</link><pubDate>Tue, 27 Oct 2009 10:33:59 GMT</pubDate><dc:creator>PRISMAY</dc:creator><description>&lt;p&gt;Hello Handy,&lt;/p&gt;
&lt;p&gt;I'm not sure what you mean by "a little different with yours" other than you can replicate it but at a different place in the JavaScript code?&lt;/p&gt;
&lt;p&gt;Any how, we really need this fixed because we need to use the Reset to also reset our grid back to its default settings.  The reason we need to use the Reset is because, at the moment, we can't customize this context menu.&lt;/p&gt;
&lt;p&gt;How soon will you have the feature to allow customization of the column context menu?  We can really use this.  Thank you.&lt;/p&gt;</description></item><item><title>WebGrid 7 SelectColumns Reset Causes JavaScript Error</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-7-SelectColumns-Reset-Causes-JavaScript-Error/</link><pubDate>Mon, 26 Oct 2009 23:24:50 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I can replicate an issue when reset columns with some non-visible columns. Maybe the error seems a little different with yours but i will forward this to our developer teams. Thank you for video.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>WebGrid 7 SelectColumns Reset Causes JavaScript Error</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-7-SelectColumns-Reset-Causes-JavaScript-Error/</link><pubDate>Mon, 26 Oct 2009 16:15:42 GMT</pubDate><dc:creator>PRISMAY</dc:creator><description>&lt;p&gt;I updated the flash recording so I can make it public.  Attached is the recording with no audio.  But here's an explanation for what happens that you should be able to follow.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Grid load with some columns visible and some not&lt;/li&gt;&lt;li&gt;Select columns -&amp;gt; Reset fails&lt;/li&gt;&lt;li&gt;Debug shows it fails because ve9945.GetElement()&amp;nbsp;returns null into v82c92.&amp;nbsp; Note the&amp;nbsp;Name property of ve9945 shows the name of the first column that's not selected (contactUserTypeID) to be visible&lt;/li&gt;&lt;li&gt;I go back to the grid after failure and select the contactUserTypeID to be visible and apply the changes&lt;/li&gt;&lt;li&gt;I try the Reset again but it fails again but this time at the next non-visible column, i.e., contactUserValueID which would keep happening unless I select all the non-visible columns&lt;/li&gt;&lt;li&gt;So I then select all the non-visible columns to be visible and apply the changes&lt;/li&gt;&lt;li&gt;Now, with all the columns visible, the Reset works fine&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>WebGrid 7 SelectColumns Reset Causes JavaScript Error</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-7-SelectColumns-Reset-Causes-JavaScript-Error/</link><pubDate>Mon, 26 Oct 2009 13:56:57 GMT</pubDate><dc:creator>PRISMAY</dc:creator><description>&lt;p&gt;I have a flash video that shows this issue but I don't want to post it publicly.  Is there a private way to provide you with files?&lt;/p&gt;</description></item><item><title>WebGrid 7 SelectColumns Reset Causes JavaScript Error</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-7-SelectColumns-Reset-Causes-JavaScript-Error/</link><pubDate>Mon, 26 Oct 2009 10:20:21 GMT</pubDate><dc:creator>PRISMAY</dc:creator><description>&lt;p&gt;I'd love to if I could.  You wouldn't have to ask as I would have already done so.  But I really can't since the grid control is modified by us, i.e., customized and works within our environment.  But like I said, we've only modified the server-side code that creates the columns and formats them, so I don't know why that would impact your embedded JavaScript.&lt;/p&gt;
&lt;p&gt;Here's basically what we override (keep in mind that this all worked fine with WebGrid 6 and only a problem after we upgraded to v7):&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;OnInit - we register our own custom client-side javascript and assign the LayoutSettings.ClientSideEvents&lt;/li&gt;&lt;li&gt;OnInitializePostBack - we set some of our own custom properties based on the action parameter and save the structure via SaveTablesStructureToXml&lt;/li&gt;&lt;li&gt;PrismGridView_InitializeRow - we add our own CustomAttributes attribute to the cell&lt;/li&gt;&lt;li&gt;OnPreRender - we add our own client-side pageLoad method to do some client side updates after the page loads&lt;/li&gt;&lt;li&gt;OnPrepareDataBinding - we do our custom work here to format the grid according to our grid definition structure that comes from the database.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: 45px"&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="font-size: 9px"&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="font-size: 45px"&gt;&lt;span style="font-size: 13px"&gt;
&lt;p&gt;That's pretty much it.&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</description></item><item><title>WebGrid 7 SelectColumns Reset Causes JavaScript Error</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-7-SelectColumns-Reset-Causes-JavaScript-Error/</link><pubDate>Mon, 26 Oct 2009 10:06:16 GMT</pubDate><dc:creator>technical@intersoftpt.com</dc:creator><description>&lt;p&gt;Could you send over a sample replicating the Reset issue?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;</description></item><item><title>WebGrid 7 SelectColumns Reset Causes JavaScript Error</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-7-SelectColumns-Reset-Causes-JavaScript-Error/</link><pubDate>Wed, 21 Oct 2009 10:02:52 GMT</pubDate><dc:creator>PRISMAY</dc:creator><description>&lt;p&gt;I just used the SelectColumns | Reset from the columns context menu and it caused the runtime error: 'parentElement' is null or not an object.&lt;/p&gt;
&lt;p&gt;The specific javascript code is: var vb6c39=v82c92.parentElement;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt"&gt;When I broke into the code, it showed the&amp;nbsp;object&amp;nbsp;v82c92 is null.&amp;nbsp; What now?&amp;nbsp; We need this to work ASAP please as it happens on all our grids.&lt;/span&gt;&lt;span style="font-size: 9px"&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>