﻿<?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 - SendCustomRequest - unable to communicate with server</title><link>http://www.intersoftsolutions.com/Community/WebGrid/SendCustomRequest---unable-to-communicate-with-server/</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>SendCustomRequest - unable to communicate with server</title><link>http://www.intersoftsolutions.com/Community/WebGrid/SendCustomRequest---unable-to-communicate-with-server/</link><pubDate>Mon, 09 Aug 2010 20:19:38 GMT</pubDate><dc:creator>darrenbudd1234@yahoo.com</dc:creator><description>&lt;p&gt;Hi Handy,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Sorry - turns out this is a false alarm, the problem only occurs when I dont bind the grid - which is inline with what you are saying.  Thanks for looking, I have it working for me now.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Darren&lt;/p&gt;</description></item><item><title>SendCustomRequest - unable to communicate with server</title><link>http://www.intersoftsolutions.com/Community/WebGrid/SendCustomRequest---unable-to-communicate-with-server/</link><pubDate>Mon, 09 Aug 2010 15:28:24 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello Darren,&lt;/p&gt;&lt;p&gt;Do you mean that this is working before? FYI, this error is appeared only when you used unbound WebGrid or the communication with server is disconnected. WebGrid did not get expected response from the server. So, please ensureyour server connection or database.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>SendCustomRequest - unable to communicate with server</title><link>http://www.intersoftsolutions.com/Community/WebGrid/SendCustomRequest---unable-to-communicate-with-server/</link><pubDate>Mon, 09 Aug 2010 11:06:02 GMT</pubDate><dc:creator>darrenbudd1234@yahoo.com</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Im getting this error on calling SendCustomRequest.  Ive done this sort of thing before without any problems, so have no idea what the issue is (DLL versions?).  The DLL versions I am using are:&lt;/p&gt;
&lt;p&gt;Webgrid.dll - 7.0.7200.306 &lt;/p&gt;
&lt;p&gt;Webgrid.resources.dll - 7.0.7200.306&lt;/p&gt;
&lt;p&gt;Here is my javascript function:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;function&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; addAnswer(answerFrom, answerTo, isCorrect) &lt;p&gt;{&lt;/p&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; answerFromField = document.getElementById(&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;'&amp;lt;%=hdn_new_answerFrom.ClientID%&amp;gt;'&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;); &lt;p&gt;answerFromField.value = answerFrom;&lt;/p&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; answerToField = document.getElementById(&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;'&amp;lt;%=hdn_new_answerTo.ClientID%&amp;gt;'&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;); &lt;p&gt;answerToField.value = answerTo;&lt;/p&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; answerCorrectField = document.getElementById(&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;'&amp;lt;%=hdn_new_is_correct.ClientID%&amp;gt;'&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;); &lt;p&gt;answerCorrectField.value = isCorrect;&lt;/p&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; grid = wgGetGridById(&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;'grd_Answers'&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;); &lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;if&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; (!grid.IsInProgress) &lt;p&gt;{&lt;/p&gt;&lt;p&gt;grid.SendCustomRequest();&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;And here is my grid definition:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;ISWebGrid&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;WebGrid&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;ID&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="grd_Answers"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;runat&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="server"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;Width&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="100%"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;UseDefaultStyle&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="True"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;Visible&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="false" &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;
&lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;EnableViewState&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="False"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;Height&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="80%"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;DataCacheStorage&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="Session" &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;
&lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;OnInitializeDataSource&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="grd_Answers_InitializeDataSource" &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;
&lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;OnInitializePostBack&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="grd_Answers_InitializePostBack"&amp;gt;&lt;/span&gt;&lt;/span&gt; &lt;p&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;And here is my code behind:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;p&gt;protected&lt;span style="font-size: 13px; color: #000000"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;void&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #000000"&gt; grd_Answers_InitializePostBack(&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;object&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #000000"&gt; sender, ISNet.WebUI.WebGrid.&lt;/span&gt;&lt;span style="font-size: 13px; color: #2b91af"&gt;&lt;span style="font-size: 13px; color: #2b91af"&gt;PostbackEventArgs&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="color: #000000"&gt; e)&lt;/span&gt;&lt;p&gt;{&lt;/p&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #000000"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;void&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #000000"&gt; grd_Answers_InitializePostBack(&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;object&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #000000"&gt; sender, ISNet.WebUI.WebGrid.&lt;/span&gt;&lt;span style="font-size: 13px; color: #2b91af"&gt;&lt;span style="font-size: 13px; color: #2b91af"&gt;PostbackEventArgs&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="color: #000000"&gt; e)&lt;/span&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;if&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; (e.Action == ISNet.WebUI.WebGrid.&lt;/span&gt;&lt;span style="font-size: 13px; color: #2b91af"&gt;&lt;span style="font-size: 13px; color: #2b91af"&gt;PostBackAction&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;.Custom) 

&lt;p&gt;{ &lt;/p&gt;
&lt;/span&gt;&lt;p&gt;&lt;span style="font-size: 13px"&gt;grd_Answers.ClientAction.Refresh(); &lt;p&gt;}&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Does anyone know what the issue might be?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;thanks&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Darren&lt;/p&gt;&lt;/span&gt;&lt;/p&gt;grd_Answers.ClientAction.Refresh(); &lt;p&gt;}&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Does anyone know what the issue might be?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;thanks&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Darren&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</description></item></channel></rss>