﻿<?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 - WebDesktop - Flypostback failed when webform has querystring</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Flypostback-failed-when-webform-has-querystring/</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>Flypostback failed when webform has querystring</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Flypostback-failed-when-webform-has-querystring/</link><pubDate>Mon, 13 Jun 2011 02:11:52 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 forum. We would be happy to assist you again.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Flypostback failed when webform has querystring</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Flypostback-failed-when-webform-has-querystring/</link><pubDate>Thu, 09 Jun 2011 23:01:12 GMT</pubDate><dc:creator>kurry</dc:creator><description>&lt;p&gt;Hi yudi. that's not what the issue was at all.&lt;/p&gt;
&lt;p&gt;The solution was to explicitly set the webflypostbackmanager's serviceUrl on server side during page load event to include the querystring.&lt;/p&gt;</description></item><item><title>Flypostback failed when webform has querystring</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Flypostback-failed-when-webform-has-querystring/</link><pubDate>Tue, 07 Jun 2011 22:58:06 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;From your description, the issue happens when calling server method from client-side. Does this term mean that you try to invoke WebFlyPostBackMethod from client side?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;By chance, I have been working on a project that – I think – has identical scenario. I have a webform where when user select a row from WebGrid, the data key value of the selected row will be passed as query string.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;The query string is consumed by another webform. OnPageLoad event, the data key value is retrieved from query string by using following line.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;if (!IsPostBack)
{
    ClientScript.RegisterHiddenField("keyValue", Request["keyValue"]);
    ClientScript.RegisterHiddenField("state", Request["state"]);
    ...&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;Perhaps you should ensure that you have added WebFlyPostBackListener instance during page load.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;WebFlyPostBackListener listener;
    
protected void Page_Load(object sender, EventArgs e)
{
    listener = new WebFlyPostBackListener(this);
    ...&lt;/pre&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>Flypostback failed when webform has querystring</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Flypostback-failed-when-webform-has-querystring/</link><pubDate>Mon, 06 Jun 2011 04:04:58 GMT</pubDate><dc:creator>kurry</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have a webform with WebFlyPostbackManager&lt;/p&gt;
&lt;p&gt;When calling server method from client side, I always get an error. The process routed to OnError event handler with no detailed error message given.&lt;/p&gt;
&lt;p&gt;Upon further investigation this seems to happen when the web page has a query string. The page depends on querystring to pass on the required ID. On page Load event handler, the ID is retrieved from query string. This fails on fly post back. Indeed when debugging, request.querystring is not available.&lt;/p&gt;
&lt;p&gt;Can you comment on this and advice of a solution?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item></channel></rss>