﻿<?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 - Upgrading webgrid6.0 to Webgrid 7.0 problem.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Upgrading-webgrid60-to-Webgrid-70-problems/</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>Upgrading webgrid6.0 to Webgrid 7.0 problem.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Upgrading-webgrid60-to-Webgrid-70-problems/</link><pubDate>Wed, 14 Oct 2009 09:31:53 GMT</pubDate><dc:creator>james</dc:creator><category>Page Redirect</category><category>AJAX</category><description>&lt;p&gt;Xedem, yes, I think the above code is designed only for Response.Redirect. &lt;/p&gt;&lt;p&gt;The Server.Transfer method performs the data transfer directly on server-side without reaching client-side first, and thus there's no way to really support it during AJAX/partial page refresh.&lt;/p&gt;</description></item><item><title>Upgrading webgrid6.0 to Webgrid 7.0 problem.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Upgrading-webgrid60-to-Webgrid-70-problems/</link><pubDate>Wed, 14 Oct 2009 09:06:47 GMT</pubDate><dc:creator>vinsdeon</dc:creator><category>Page Redirect</category><category>AJAX</category><description>&lt;p&gt;It worked partially. By putting the module the code works only for response.redirect. And the problem still persist for pages using server.transfer. I think you guys didnt fix that yet. Thanks for the solution. However i would appreciate if you guys could fix the problem with server.transfer. And please check my thread regarding jquery as well. As thats critical for me.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Upgrading webgrid6.0 to Webgrid 7.0 problem.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Upgrading-webgrid60-to-Webgrid-70-problems/</link><pubDate>Wed, 14 Oct 2009 08:16:29 GMT</pubDate><dc:creator>james</dc:creator><category>Page Redirect</category><category>AJAX</category><description>&lt;p&gt;Hi Xedem,&lt;/p&gt;&lt;p&gt;There are two solutions for page redirection in FlyPostBack AJAX request:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;The latest WebUI Framework includes native support for .NET's Response.Redirect through httpModule extension. So your above code should work properly as soon as you add the following key to your web.config:&lt;br /&gt;&lt;pre&gt;&amp;lt;httpModules&amp;gt;
   &amp;lt;add name="FlyPostBackModule" type="ISNet.WebUI.FlyPostBackModule, ISNet.WebUI"&amp;gt;&amp;lt;/add&amp;gt;
&amp;lt;/httpModules&amp;gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;If adding httpModule is not an option, the easiest way to perform page redirection is through ClientAction.Navigate function which is available from WebGrid object directly. Example:&lt;br /&gt;
&lt;p&gt;&lt;/p&gt;&lt;pre&gt;grid.ClientAction.Navigate(newUrl)&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Note: Make sure you add the httpModule definition to the correct node depending on your target IIS version. Eg, IIS 7 requires http handlers and modules to be defined in system.webServer node.&lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;br /&gt;James.&lt;/p&gt;</description></item><item><title>Upgrading webgrid6.0 to Webgrid 7.0 problem.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Upgrading-webgrid60-to-Webgrid-70-problems/</link><pubDate>Tue, 13 Oct 2009 03:10:52 GMT</pubDate><dc:creator>vinsdeon</dc:creator><category>Page Redirect</category><category>AJAX</category><description>&lt;p&gt;After updating dll update, adding script files and everything, still there found to be some problems. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;I have some  pages in my project that use sendcustomrequest of webgrid. And does some calculations in the server initialise postback event. After that a response.redirect(or server.transform) is made based on the calculations. After updating to Webgrid 7, the redirection is not working. It doesnt throw any error. In fact i put a breakpoint in the second page and found that the control is actually transferring to the second page and it runs as well. However its not getting live. So if i perform any further operation on the first page again, the operation is done on the context of the first page itself. In fact it should have shown error if the context is switched to the first page. '&lt;/p&gt;&lt;pre&gt;Protected Sub WGAccountCategory_InitializePostBack(ByVal sender As Object, ByVal e As ISNet.WebUI.WebGrid.PostbackEventArgs) Handles 		WGAccountCategory.InitializePostBack&lt;br /&gt;        If e.Action = PostBackAction.Custom Then&lt;br /&gt;            If (hfDelActive.Value = "Delete") Then&lt;br /&gt;                ChangeStatWebGrid(hfDelId.Value, "Y")&lt;br /&gt;                WGAccountCategory.ClientAction.Refresh()&lt;br /&gt;            Else&lt;br /&gt;                ChangeStatWebGrid(hfDelActive.Value, "N")&lt;br /&gt;                Response.Redirect("EditAccountCategory.aspx?ACId=" &amp;#43; hfDelActive.Value, True)&lt;br /&gt;                'HttpContext.Current.ApplicationInstance.CompleteRequest()&lt;br /&gt;            End If&lt;br /&gt;        End If&lt;br /&gt;End Sub&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;In short after updating, calling response.redirect or server.transfer in the initialise postback event doesnt switches the context to the second page. Suppose i put an alert just after the grid.sendCustomRequest() event in javascript, the response.redirect works and switches to the second page. Voila!. So i suppose the javscripts causing some error. The error is critical for our project. so pls respond immediately.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>