﻿<?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 4.0.6200.2 client side (FlyPostBack) loading issues</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-4062002-client-side-FlyPostBack-loading-issues/</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 4.0.6200.2 client side (FlyPostBack) loading issues</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-4062002-client-side-FlyPostBack-loading-issues/</link><pubDate>Wed, 23 Jun 2010 03:08:09 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>FlypostBack</category><category>WebGrid 4.0.6200.2</category><category>RefreshAll()</category><category>Web Grid</category><description>&lt;p&gt;Hello Sham,&lt;/p&gt;&lt;p&gt;When running with a defaul global.asax, It should be working as expected. You can use your own custom method in global.asax, but you need to ensure that the default one also works (not conflict) in your own global.asax.&lt;/p&gt;
&lt;p&gt;FYI, WebGrid 4.0 is the old product and we have discontinued to release hotfix for old products. So, I don't think that any changes would be made in WebGrid 4. The possible way if you enhance your current global.asax or upgraded into new version.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;HAndy&lt;/p&gt;</description></item><item><title>WebGrid 4.0.6200.2 client side (FlyPostBack) loading issues</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-4062002-client-side-FlyPostBack-loading-issues/</link><pubDate>Tue, 22 Jun 2010 05:33:14 GMT</pubDate><dc:creator>tamicacm</dc:creator><category>FlypostBack</category><category>WebGrid 4.0.6200.2</category><category>RefreshAll()</category><category>Web Grid</category><description>Hi Handy,&lt;p&gt;We have already custom implemented some methods in Global.asax like:&lt;/p&gt;
&lt;p&gt;Application_Start&lt;/p&gt;
&lt;p&gt;Session_Start&lt;/p&gt;
&lt;p&gt;Application_PreRequestHandlerExecute&lt;/p&gt;
&lt;p&gt;Application_Error&lt;/p&gt;
&lt;p&gt;Session_End&lt;/p&gt;
&lt;p&gt;So I could not run my application with the default Global.asax file.&lt;/p&gt;
&lt;p&gt;And I also do not have a WebGrid sample with me to try it out :-(&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp; kind regards&lt;/p&gt;
&lt;p&gt;Shamjeed&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>WebGrid 4.0.6200.2 client side (FlyPostBack) loading issues</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-4062002-client-side-FlyPostBack-loading-issues/</link><pubDate>Tue, 22 Jun 2010 04:49:16 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>FlypostBack</category><category>WebGrid 4.0.6200.2</category><category>RefreshAll()</category><category>Web Grid</category><description>&lt;p&gt;Hello Shamjeed,&lt;/p&gt;&lt;p&gt;Was it your own custom global.asax? If yes, please try to add the standart from Visual studio and let me know the result. Please let me know also if the same issue persists in our WebGrid sample or not.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>WebGrid 4.0.6200.2 client side (FlyPostBack) loading issues</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-4062002-client-side-FlyPostBack-loading-issues/</link><pubDate>Tue, 22 Jun 2010 04:01:39 GMT</pubDate><dc:creator>tamicacm</dc:creator><category>FlypostBack</category><category>WebGrid 4.0.6200.2</category><category>RefreshAll()</category><category>Web Grid</category><description>&lt;p&gt;Hi Handy,&lt;/p&gt;&lt;p&gt;Thanks for your quick reply, but I already have a Global.asax added in my web project, is there any setting or code that should go with it?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Shamjeed&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>WebGrid 4.0.6200.2 client side (FlyPostBack) loading issues</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-4062002-client-side-FlyPostBack-loading-issues/</link><pubDate>Tue, 22 Jun 2010 03:30:06 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>FlypostBack</category><category>WebGrid 4.0.6200.2</category><category>RefreshAll()</category><category>Web Grid</category><description>&lt;p&gt;Please ensure you have added global.asax in your WebProject. Hope this helps.&lt;/p&gt;&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>WebGrid 4.0.6200.2 client side (FlyPostBack) loading issues</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-4062002-client-side-FlyPostBack-loading-issues/</link><pubDate>Tue, 22 Jun 2010 00:54:46 GMT</pubDate><dc:creator>tamicacm</dc:creator><category>FlypostBack</category><category>WebGrid 4.0.6200.2</category><category>RefreshAll()</category><category>Web Grid</category><description>Hi,&lt;br /&gt;&lt;br /&gt;
&lt;p&gt;

&lt;/p&gt;
&lt;p class="MsoNormal"&gt;I am facing a problem with WebGrid 4.0.6200.2 which so far
has eluded me of any neat solution to it. Please find the description of the
problem below:&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;1. Every time we try to load the web grid from client side
using below code in JavaScript&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;var grid = ISGetObject("myWebGrid");&lt;/p&gt;

&lt;p class="MsoNormal"&gt;grid.RefreshAll();&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;Server side InitializeDataSource method is invoked twice.
How can we prevent this from happening or what condition should we check to
avoid data access code from executing twice?&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;private void wgdFlightMonitor_InitializeDataSource(object sender,
DataSourceEventArgs e)&lt;/p&gt;

&lt;p class="MsoNormal"&gt;{&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style=""&gt; &lt;/span&gt;//Initialize
web grid data source here&lt;/p&gt;

&lt;p class="MsoNormal"&gt;}&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;2. If we are having two web grids on the same page and try
to load one of the web grid using client side JavaScript code mentioned above.&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;Server side InitializeDataSource method is invoked for both
of the web grids.&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;Any help or insight would be highly appreciated for the
above problems&lt;/p&gt;

</description></item></channel></rss>