<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ASP.NET AJAX Discussion and Suggestions</title><link>http://forums.asp.net/1007.aspx</link><description>This forum is the place for ASP.NET AJAX 'getting started' questions, general questions that don't fit in one of the other forums about AJAX </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Ajax is very slow in Production Server</title><link>http://forums.asp.net/thread/3520019.aspx</link><pubDate>Wed, 18 Nov 2009 15:57:18 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3520019</guid><dc:creator>Pawan_Mishra</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3520019.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=3520019</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;In case you are not able to figure out whats slowing down your applications then you can make use of various browser plug-ins like fiddler , firebug , YSlow etc to analyze the performance of your webpage.One such plug-in for firefox is called &amp;quot;PageSpeed&amp;quot; , you can check out for more details on my blog :- &lt;a target="_blank" title="http://weblogs.asp.net/pawanmishra/archive/2009/11/08/pagespeed-another-firefox-plugin.aspx" href="http://weblogs.asp.net/pawanmishra/archive/2009/11/08/pagespeed-another-firefox-plugin.aspx"&gt;http://weblogs.asp.net/pawanmishra/archive/2009/11/08/pagespeed-another-firefox-plugin.aspx&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Ajax is very slow in Production Server</title><link>http://forums.asp.net/thread/3519783.aspx</link><pubDate>Wed, 18 Nov 2009 13:36:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3519783</guid><dc:creator>Das.Sandeep</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3519783.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=3519783</wfw:commentRss><description>&lt;p&gt;This is not the case respective to lots of elements,I have tried with only single element of text box and button then also it is very slow.&amp;nbsp;This issue is source stopper for us. &amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Ajax is very slow in Production Server</title><link>http://forums.asp.net/thread/1944799.aspx</link><pubDate>Sun, 07 Oct 2007 20:32:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1944799</guid><dc:creator>Luis Abreu</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1944799.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1944799</wfw:commentRss><description>hello guys.

well, to be honest, the updatepanel does have some limitations, specially when you have lots of elements (which doesn&amp;#39;t seem to be the case). another thing you should check is if you ahve a big viewstate on that page. if taht is the case, then you should try to disable it and see itimproves the performance of your page.

btw, you surelly must have ASP.NET AJAX extensions installed on your server or your ajax pasge wouldn&amp;#39;t work...</description></item><item><title>Re: Ajax is very slow in Production Server</title><link>http://forums.asp.net/thread/1944507.aspx</link><pubDate>Sun, 07 Oct 2007 09:11:34 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1944507</guid><dc:creator>power9888</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1944507.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1944507</wfw:commentRss><description>&lt;p&gt;I have the same issue here.&amp;nbsp; Ajax in .net runs very very slow.&amp;nbsp; The setting in web.config&lt;/p&gt;&amp;lt;&lt;span class="tag"&gt;&lt;font color="#800000"&gt;compilation&lt;/font&gt;&lt;/span&gt;&lt;span class="attr"&gt;&lt;font color="#ff0000"&gt; debug=&lt;/font&gt;&lt;/span&gt;&lt;span class="attrv"&gt;&lt;font color="#0000ff"&gt;&amp;quot;false&amp;quot;&lt;/font&gt;&lt;/span&gt;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;&lt;span class="tag"&gt;&lt;font color="#800000"&gt;system.web.extensions&lt;/font&gt;&lt;/span&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;span class="tag"&gt;&lt;font color="#800000"&gt;scripting&lt;/font&gt;&lt;/span&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;span class="tag"&gt;&lt;font color="#800000"&gt;scriptResourceHandler&lt;/font&gt;&lt;/span&gt;&lt;span class="attr"&gt;&lt;font color="#ff0000"&gt; enableCompression=&lt;/font&gt;&lt;/span&gt;&lt;span class="attrv"&gt;&lt;font color="#0000ff"&gt;&amp;quot;true&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="attr"&gt;&lt;font color="#ff0000"&gt; enableCaching=&lt;/font&gt;&lt;/span&gt;&lt;span class="attrv"&gt;&lt;font color="#0000ff"&gt;&amp;quot;true&amp;quot;&lt;/font&gt;&lt;/span&gt;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;span class="tag"&gt;&lt;font color="#800000"&gt;scripting&lt;/font&gt;&lt;/span&gt;&amp;gt;&lt;br /&gt;&amp;lt;/&lt;span class="tag"&gt;&lt;font color="#800000"&gt;system.web.extensions&lt;/font&gt;&lt;/span&gt;&amp;gt; 
&lt;p&gt;does no help at all.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any other suggestion to resolve this issue?&lt;/p&gt;</description></item><item><title>Re: Ajax is very slow in Production Server</title><link>http://forums.asp.net/thread/1813414.aspx</link><pubDate>Thu, 19 Jul 2007 21:20:59 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1813414</guid><dc:creator>KaziManzurRashid</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1813414.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1813414</wfw:commentRss><description>&lt;p&gt;Just make sure you have the following setting in web.config when deploying in production server:&amp;nbsp;&lt;pre class="coloredcode"&gt;&amp;lt;&lt;span class="tag"&gt;compilation&lt;/span&gt;&lt;span class="attr"&gt; debug=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;false&amp;quot;&lt;/span&gt;&amp;gt;

&amp;lt;&lt;span class="tag"&gt;system.web.extensions&lt;/span&gt;&amp;gt;
    &amp;lt;&lt;span class="tag"&gt;scripting&lt;/span&gt;&amp;gt;
        &amp;lt;&lt;span class="tag"&gt;scriptResourceHandler&lt;/span&gt;&lt;span class="attr"&gt; enableCompression=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;true&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; enableCaching=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;true&amp;quot;&lt;/span&gt;/&amp;gt;
    &amp;lt;/&lt;span class="tag"&gt;scripting&lt;/span&gt;&amp;gt;
&amp;lt;/&lt;span class="tag"&gt;system.web.extensions&lt;/span&gt;&amp;gt;&lt;/pre&gt;</description></item><item><title>Re: Ajax is very slow in Production Server</title><link>http://forums.asp.net/thread/1812731.aspx</link><pubDate>Thu, 19 Jul 2007 15:39:20 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1812731</guid><dc:creator>bobthecoder</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1812731.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1812731</wfw:commentRss><description>&lt;p&gt;mmm, I have the opposite problem.&amp;nbsp;Possibly worthy of a new thread but could be the same cause - but just machine based.&amp;nbsp;I&amp;#39;m finding moving something between grids takes less than 2 seconds in production and my production server is 2500km away, whereas working on my localhost takes about&amp;nbsp;8 seconds and its all on my laptop, which isn&amp;#39;t quite as fast as the production server, but its not normally this slow. Both are win2k3 and same data and database. I&amp;#39;ve tried setting scriptsmanager to release mode and turning off debug&amp;nbsp;but no difference.&amp;nbsp;It makes development a bit slower and more painful but at least its going to work in production. Wish I knew what was going on here.&lt;/p&gt;
&lt;p&gt;When I run perfmon on local machine when running app locally the CPU goes nuts. However when I view the perfmons for server and local host while viewing the production server, its pretty much flat line. So I don&amp;#39;t know what it is about the site that is causing my local CPU to work overtime. It doesn&amp;#39;t seem to be the rendering. Unless there is some kind of contention going on my laptop&lt;/p&gt;
&lt;p&gt;Rob&lt;/p&gt;</description></item><item><title>Re: Ajax is very slow in Production Server</title><link>http://forums.asp.net/thread/1766167.aspx</link><pubDate>Thu, 21 Jun 2007 16:17:23 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1766167</guid><dc:creator>jungleboy6</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1766167.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1766167</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Did you ever find an answer....same issue here too.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Ajax is very slow in Production Server</title><link>http://forums.asp.net/thread/1641086.aspx</link><pubDate>Wed, 28 Mar 2007 14:26:58 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1641086</guid><dc:creator>SMuhilan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1641086.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1641086</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is there any solution for my problem?&lt;/p&gt;</description></item><item><title>Re: Ajax is very slow in Production Server</title><link>http://forums.asp.net/thread/1637138.aspx</link><pubDate>Mon, 26 Mar 2007 13:24:57 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1637138</guid><dc:creator>spvlong</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1637138.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1637138</wfw:commentRss><description>&lt;p&gt;Hi SMuhilan,&lt;/p&gt;
&lt;p&gt;The ASP.Net AJAX Extensions must be installed before you can run your AJAX application. Your application is running now so I don't think that you need to reinstall the ASP.Net AJAX Extensions. &lt;/p&gt;</description></item><item><title>Re: Ajax is very slow in Production Server</title><link>http://forums.asp.net/thread/1636973.aspx</link><pubDate>Mon, 26 Mar 2007 11:18:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1636973</guid><dc:creator>SMuhilan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1636973.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1636973</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for your reply.&lt;br /&gt;I already try this option also. But no improvement.&lt;br /&gt;Is it necessary to install AJAX framework in our Webserver?&lt;/p&gt;</description></item><item><title>Re: Ajax is very slow in Production Server</title><link>http://forums.asp.net/thread/1635104.aspx</link><pubDate>Sat, 24 Mar 2007 10:16:30 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1635104</guid><dc:creator>spvlong</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1635104.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1635104</wfw:commentRss><description>&lt;p&gt;Hi Muhilan,&lt;/p&gt;
&lt;p&gt;Make sure that &lt;font color=#0000ff size=2&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;&lt;font color=#a31515 size=2&gt;compilation&lt;/font&gt;&lt;font color=#0000ff size=2&gt; &lt;/font&gt;&lt;strong&gt;&lt;font color=#ff0000 size=2&gt;debug&lt;/font&gt;&lt;font color=#0000ff size=2&gt;=&lt;/font&gt;&lt;font size=2&gt;"&lt;/font&gt;&lt;font color=#0000ff size=2&gt;false&lt;/font&gt;&lt;font size=2&gt;"&lt;/font&gt;&lt;/strong&gt;&lt;font color=#0000ff size=2&gt;&amp;gt; &lt;font color=#000000&gt;is in your web.config. This will improve AJAX performance a lot.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=#0000ff size=2&gt;&lt;font color=#000000&gt;&lt;/font&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font color=#0000ff size=2&gt;&lt;font color=#000000&gt;Hope this helps,&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Ajax is very slow in Production Server</title><link>http://forums.asp.net/thread/1635011.aspx</link><pubDate>Sat, 24 Mar 2007 05:07:31 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1635011</guid><dc:creator>SMuhilan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1635011.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1635011</wfw:commentRss><description>&lt;p&gt;hi&lt;/p&gt;
&lt;p&gt;I designed a small project. In this project I have two aspx form and one usercontrol.&lt;/p&gt;
&lt;p&gt;1. formItemSelected.aspx&lt;br /&gt;2. formItemSearch.aspx&lt;br /&gt;3. uctrItemSearch.ascx - usercontrol&lt;/p&gt;
&lt;p&gt;In the usercontrol, I have a html listbox control with runat server (lstItemSelected) and visible =false and a IFrame with src=formitemsearch.aspx. a button called CLOSE for setting visible =false and also raise the event called btnclicked&lt;/p&gt;
&lt;p&gt;formItemSearch.aspx contians a text box ( for item name), a button (for search)&amp;nbsp;and a gridview control with a check box column.&lt;br /&gt;The gird will display data as per the item name given in the text box when search button clicked.&lt;/p&gt;
&lt;p&gt;Below this grid, I have two more buttons (Down&amp;nbsp;,&amp;nbsp;Up)&amp;nbsp;and a grid witch checkbox.&lt;br /&gt;&lt;br /&gt;User will select the items in the first gridview by checking checkboxes. then they press down for pushing items to second gridview. Up is used for deleting checked row in the second row.&lt;/p&gt;
&lt;p&gt;I have a html listbox control with runat server (lstItemSelected) and visible =false. I fill this list box whenever there is a change in the second grid.&lt;/p&gt;
&lt;p&gt;The entire form is in updatepanel with conditionaly postback,&amp;nbsp;the updatepanel&amp;nbsp;assyncpostbacktriggers are&amp;nbsp;the down, up, search click events.&lt;/p&gt;
&lt;p&gt;I have a javascript method called LoadSelectedItem() which will fill all the items from lstItemSelected into usercontrol's lstItemSelected listbox.&lt;/p&gt;&lt;font size=2&gt;
&lt;p&gt;&lt;/p&gt;&lt;/font&gt;&lt;font color=#0000ff size=2&gt;function&lt;/font&gt;&lt;font size=2&gt; LoadSelectedItem()
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;/font&gt;&lt;font color=#0000ff size=2&gt;var&lt;/font&gt;&lt;font size=2&gt; List1=document.getElementById(&lt;/font&gt;&lt;font color=#800000 size=2&gt;"lstItemSelected"&lt;/font&gt;&lt;font size=2&gt;);
&lt;p&gt;&lt;/p&gt;&lt;/font&gt;&lt;font color=#0000ff size=2&gt;var&lt;/font&gt;&lt;font size=2&gt; List2=parent.document.getElementById(&lt;/font&gt;&lt;font color=#800000 size=2&gt;"LookUpControl_lstItemSelected"&lt;/font&gt;&lt;font size=2&gt;);
&lt;p&gt;&lt;/p&gt;&lt;/font&gt;&lt;font color=#0000ff size=2&gt;while&lt;/font&gt;&lt;font size=2&gt;(List2.options.length&amp;gt;0)
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;/font&gt;&lt;font color=#0000ff size=2&gt;var&lt;/font&gt;&lt;font size=2&gt; i=0;
&lt;p&gt;List2.remove(i);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;/font&gt;&lt;font color=#0000ff size=2&gt;for&lt;/font&gt;&lt;font size=2&gt;(i=0;i&amp;lt;List1.options.length;i++)
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;/font&gt;&lt;font color=#0000ff size=2&gt;var&lt;/font&gt;&lt;font size=2&gt; option1=document.createElement(&lt;/font&gt;&lt;font color=#800000 size=2&gt;"OPTION"&lt;/font&gt;&lt;font size=2&gt;);
&lt;p&gt;option1.text=List1.options[i].text;&lt;/p&gt;
&lt;p&gt;option1.value=List1.options[i].value;&lt;/p&gt;
&lt;p&gt;option1.selected=&lt;/p&gt;&lt;/font&gt;&lt;font color=#0000ff size=2&gt;true&lt;/font&gt;&lt;font size=2&gt;;
&lt;p&gt;List2.add(option1);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;I called the above method on the click of down and up button using scriptmanager.registerscript method.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;formItemSelected.aspx contains a button and a grid view control.&lt;br /&gt;When I click, the button, the usercontrol will display and user can search the items and select the items, when the press CLOSE button in the usercontrol, this usercontrol is hidden and the I display the data in the grid by reading lstselecteditem of the usercontrol.&lt;/p&gt;
&lt;p&gt;My problem is all the functions are running fine, in my development PC with fast. But while on production Server, it works fine but&amp;nbsp;pushing from upper gridview to lower grid is slow.&lt;/p&gt;
&lt;p&gt;The items are not more than 10.&lt;/p&gt;
&lt;p&gt;I put scriptmanager script mode=release and also commenting the javacript method calling from the server side. But no use. Its still takes the same amount of time.&lt;/p&gt;
&lt;p&gt;Why?&lt;br /&gt;&lt;br /&gt;I didn't install AJAX on my server since it is shared one.&lt;/p&gt;
&lt;p&gt;Why generaly AJAX 1.0 is very very slow on Production server and fast in the local development PC.&lt;/p&gt;
&lt;p&gt;Very urgent.&lt;br /&gt;&lt;br /&gt;replay to me.&lt;br /&gt;&lt;br /&gt;S.&amp;nbsp;Muhilan&lt;br /&gt;Mumbai, India&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>