<?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: Comparison speed betwen Anthem.Net and ASP AJAX.NET</title><link>http://forums.asp.net/thread/3275977.aspx</link><pubDate>Mon, 06 Jul 2009 05:10:21 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275977</guid><dc:creator>Vince Xu - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275977.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=3275977</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;
&lt;p&gt;Firstly, it is called ASP.Net Ajax, rather than Ajax.Net. Ajax.Net&amp;nbsp;is another ajax framework.&lt;/p&gt;
&lt;p&gt;You can check the size of&amp;nbsp;framework js resource files&amp;nbsp;about ASP.Net Ajax and Anthem.Net. That will impact on the speed of loading. Maybe&amp;nbsp;ASP.Net Ajax is better than Anthem.Net&amp;nbsp;when&amp;nbsp;the data volumn is at high peek.&lt;/p&gt;
&lt;p&gt;Besides speed, we can consider other aspects, such as compatibility, support resouces and reference resources.&lt;/p&gt;
&lt;p&gt;Please check the following link:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.creonfx.com/performance/howto-optimize-rendering-speed-of-aspnet-ajax-websites"&gt;http://blog.creonfx.com/performance/howto-optimize-rendering-speed-of-aspnet-ajax-websites&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Comparison speed betwen Anthem.Net and ASP AJAX.NET</title><link>http://forums.asp.net/thread/3272855.aspx</link><pubDate>Fri, 03 Jul 2009 06:51:36 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3272855</guid><dc:creator>Kusno</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3272855.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=3272855</wfw:commentRss><description>&lt;p&gt;have you realized that Anthem is more faster than AJAX.Net?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Comparison speed betwen Anthem.Net and ASP AJAX.NET</title><link>http://forums.asp.net/thread/3272468.aspx</link><pubDate>Fri, 03 Jul 2009 01:53:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3272468</guid><dc:creator>ameenkpn</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3272468.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=3272468</wfw:commentRss><description>&lt;p&gt;I have used both the controls, but now I stick only with AJAX .Net controls, becoz its easy and there is no different controls for all like anthem.net.. And you can do whatever you want with Ajax control..&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Comparison speed betwen Anthem.Net and ASP AJAX.NET</title><link>http://forums.asp.net/thread/3270239.aspx</link><pubDate>Thu, 02 Jul 2009 03:56:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3270239</guid><dc:creator>Kusno</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3270239.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=3270239</wfw:commentRss><description>&lt;p&gt;Dear all, &lt;br /&gt;I have a problem with AJAX.Net.&lt;br /&gt;Now, all my program forms use Anthem.Net. But, Anthem.Net gets problem in IE7 (dropdownlist shrunks and Anthem.Net doesn&amp;#39;t provide date picker).&lt;br /&gt;So, I have plan to convert my forms AJAX to AJAX.Net.&lt;br /&gt;&lt;br /&gt;I have converted one modules, and when I compared AJAX.Net with Anthem.Net, It seemed that AJAX.Net is slower than Anthem.Net.&lt;br /&gt;I&amp;#39;m affraid, if I have released my new program, I will get complains from my Users.&lt;br /&gt;Does anyone know how to advance AJAX.Net speed?&lt;br /&gt;&lt;br /&gt;I give you the simple program to compare Anthem.Net with AJAX.Net.&lt;br /&gt;I know, some one you will tell to me to use JavaScript in this program, but in my real program, sometimes I need to acces to database also.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;pre name="code" class="xhtml"&gt;&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&amp;gt;
&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot; &amp;gt;
&amp;lt;head&amp;gt;
    &amp;lt;title&amp;gt;Untitled Page&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;iframe src=&amp;quot;FrmAnthemAJAX.aspx&amp;quot; style=&amp;quot;width: 452px; height: 276px&amp;quot;&amp;gt;&amp;lt;/iframe&amp;gt;
&amp;lt;br /&amp;gt;
&amp;lt;h1&amp;gt;&amp;lt;/h1&amp;gt;
&amp;lt;iframe src=&amp;quot;frmaspnetajax.aspx&amp;quot; style=&amp;quot;width: 449px; height: 198px&amp;quot;&amp;gt;&amp;lt;/iframe&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/pre&gt;&lt;br /&gt; &lt;pre name="code" class="vb.net"&gt;&amp;lt;%@ Page Language=&amp;quot;VB&amp;quot; AutoEventWireup=&amp;quot;false&amp;quot; CodeFile=&amp;quot;FrmAnthemAJAX.aspx.vb&amp;quot; Inherits=&amp;quot;FrmAnthemAJAX&amp;quot; %&amp;gt;
&amp;lt;%@ Register TagPrefix=&amp;quot;anthem&amp;quot; Assembly=&amp;quot;Anthem&amp;quot; Namespace=&amp;quot;Anthem&amp;quot; %&amp;gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&amp;gt;
&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot; &amp;gt;
&amp;lt;head runat=&amp;quot;server&amp;quot;&amp;gt;
    &amp;lt;title&amp;gt;Untitled Page&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
    &amp;lt;form id=&amp;quot;form1&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;
    &amp;lt;div&amp;gt;
        &amp;nbsp;
        &amp;lt;table style=&amp;quot;width: 276px&amp;quot;&amp;gt;
            &amp;lt;tr&amp;gt;
                &amp;lt;td colspan=&amp;quot;2&amp;quot;&amp;gt;
                    ANTHEM.NET&amp;lt;/td&amp;gt;
            &amp;lt;/tr&amp;gt;
            &amp;lt;tr&amp;gt;
                &amp;lt;td&amp;gt;
                    &amp;lt;anthem:Button ID=&amp;quot;CmdFill&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Fill&amp;quot; AutoUpdateAfterCallBack=true Width=&amp;quot;50px&amp;quot;/&amp;gt;&amp;lt;/td&amp;gt;
                &amp;lt;td&amp;gt;
                    &amp;lt;asp:TextBox ID=&amp;quot;TxtNumber&amp;quot; runat=&amp;quot;server&amp;quot; Width=&amp;quot;50px&amp;quot;&amp;gt;100&amp;lt;/asp:TextBox&amp;gt;&amp;lt;/td&amp;gt;
            &amp;lt;/tr&amp;gt;
            &amp;lt;tr&amp;gt;
                &amp;lt;td&amp;gt;
                &amp;lt;/td&amp;gt;
                &amp;lt;td&amp;gt;
                    &amp;lt;anthem:DropDownList ID=&amp;quot;CmbNumber&amp;quot; runat=&amp;quot;server&amp;quot; Width=&amp;quot;155px&amp;quot; AutoCallBack=&amp;quot;True&amp;quot; AutoUpdateAfterCallBack=&amp;quot;True&amp;quot;&amp;gt;
                    &amp;lt;/anthem:DropDownList&amp;gt;&amp;lt;/td&amp;gt;
            &amp;lt;/tr&amp;gt;
            &amp;lt;tr&amp;gt;
                &amp;lt;td&amp;gt;
                &amp;lt;/td&amp;gt;
                &amp;lt;td&amp;gt;
                    &amp;lt;anthem:Label ID=&amp;quot;LbNumber&amp;quot; runat=&amp;quot;server&amp;quot; AutoUpdateAfterCallBack=&amp;quot;True&amp;quot; UpdateAfterCallBack=&amp;quot;True&amp;quot;&amp;gt;&amp;lt;/anthem:Label&amp;gt;&amp;lt;/td&amp;gt;
            &amp;lt;/tr&amp;gt;
        &amp;lt;/table&amp;gt;    
    &amp;lt;/div&amp;gt;
    &amp;lt;/form&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;


Partial Class FrmAnthemAJAX
    Inherits System.Web.UI.Page

    Protected Sub CmdFill_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles CmdFill.Click
        Dim I As Int32
        CmbNumber.Items.Clear()
        For I = 1 To Val(TxtNumber.Text.Trim)
            Dim NN As New ListItem
            NN.Text = Trim(Str(I))
            NN.Value = Trim(Str(I))
            CmbNumber.Items.Add(NN)
        Next
    End Sub

    Protected Sub CmbNumber_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles CmbNumber.SelectedIndexChanged
        LbNumber.Text = &amp;quot;You have selected &amp;quot; &amp;amp; CmbNumber.SelectedValue.Trim
    End Sub
End Class&lt;/pre&gt;&lt;br /&gt; &lt;pre name="code" class="vb.net"&gt;&amp;lt;%@ Page Language=&amp;quot;VB&amp;quot; AutoEventWireup=&amp;quot;false&amp;quot; CodeFile=&amp;quot;FrmASPNETAJAX.aspx.vb&amp;quot; Inherits=&amp;quot;FrmASPNETAJAX&amp;quot; %&amp;gt;
&amp;lt;%@ Register Assembly=&amp;quot;System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot; Namespace=&amp;quot;System.Web.UI&amp;quot; TagPrefix=&amp;quot;asp&amp;quot; %&amp;gt; 
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&amp;gt;
&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot; &amp;gt;
&amp;lt;head runat=&amp;quot;server&amp;quot;&amp;gt;
    &amp;lt;title&amp;gt;Untitled Page&amp;lt;/title&amp;gt; 
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
    &amp;lt;form id=&amp;quot;form1&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;
        &amp;lt;asp:ScriptManager ID=&amp;quot;ScriptManager1&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;
        &amp;lt;/asp:ScriptManager&amp;gt;
     &amp;lt;div&amp;gt;
        &amp;lt;table style=&amp;quot;width: 270px&amp;quot;&amp;gt;
            &amp;lt;tr&amp;gt;
                &amp;lt;td colspan=&amp;quot;2&amp;quot;&amp;gt;
                    AJAX.NET&amp;lt;/td&amp;gt;
            &amp;lt;/tr&amp;gt;
            &amp;lt;tr&amp;gt;
                &amp;lt;td&amp;gt;
                    &amp;lt;asp:Button ID=&amp;quot;CmdFill&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Fill&amp;quot; Width=&amp;quot;50px&amp;quot;/&amp;gt;&amp;lt;/td&amp;gt;
                &amp;lt;td&amp;gt;
                    &amp;lt;asp:TextBox ID=&amp;quot;TxtNumber&amp;quot; runat=&amp;quot;server&amp;quot; Width=&amp;quot;50px&amp;quot;&amp;gt;100&amp;lt;/asp:TextBox&amp;gt;&amp;lt;/td&amp;gt;
            &amp;lt;/tr&amp;gt;
            &amp;lt;tr&amp;gt;
                &amp;lt;td&amp;gt;
                &amp;lt;/td&amp;gt;
                &amp;lt;td&amp;gt;
                    &amp;lt;asp:UpdatePanel ID=&amp;quot;UpdatePanel1&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;
                        &amp;lt;ContentTemplate&amp;gt;
                    &amp;lt;asp:DropDownList ID=&amp;quot;CmbNumber&amp;quot; runat=&amp;quot;server&amp;quot; Width=&amp;quot;155px&amp;quot; AutoPostBack=true &amp;gt;
                    &amp;lt;/asp:DropDownList&amp;gt;
                        &amp;lt;/ContentTemplate&amp;gt;
                        &amp;lt;Triggers&amp;gt;
                            &amp;lt;asp:AsyncPostBackTrigger ControlID=&amp;quot;CmdFill&amp;quot; EventName=&amp;quot;Click&amp;quot; /&amp;gt;
                        &amp;lt;/Triggers&amp;gt;
                    &amp;lt;/asp:UpdatePanel&amp;gt;
                &amp;lt;/td&amp;gt;
            &amp;lt;/tr&amp;gt;
            &amp;lt;tr&amp;gt;
                &amp;lt;td&amp;gt;
                &amp;lt;/td&amp;gt;
                &amp;lt;td&amp;gt;
                    &amp;lt;asp:UpdatePanel ID=&amp;quot;UpdatePanel2&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;
                        &amp;lt;ContentTemplate&amp;gt;
                    &amp;lt;asp:Label ID=&amp;quot;LbNumber&amp;quot; runat=&amp;quot;server&amp;quot; &amp;gt;&amp;lt;/asp:Label&amp;gt;
                        &amp;lt;/ContentTemplate&amp;gt;
                        &amp;lt;Triggers&amp;gt;
                            &amp;lt;asp:AsyncPostBackTrigger ControlID=&amp;quot;CmbNumber&amp;quot; EventName=&amp;quot;SelectedIndexChanged&amp;quot; /&amp;gt;
                        &amp;lt;/Triggers&amp;gt;
                    &amp;lt;/asp:UpdatePanel&amp;gt; 
                &amp;lt;/td&amp;gt;
            &amp;lt;/tr&amp;gt;
        &amp;lt;/table&amp;gt;    
    &amp;lt;/div&amp;gt;
    &amp;lt;/form&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;


Partial Class FrmASPNETAJAX
    Inherits System.Web.UI.Page

    Protected Sub CmdFill_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles CmdFill.Click
        Dim I As Int32
        CmbNumber.Items.Clear()
        For I = 1 To Val(TxtNumber.Text.Trim)
            Dim NN As New ListItem
            NN.Text = Trim(Str(I))
            NN.Value = Trim(Str(I))
            CmbNumber.Items.Add(NN)
        Next
    End Sub

    Protected Sub CmbNumber_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles CmbNumber.SelectedIndexChanged
        LbNumber.Text = &amp;quot;You have selected &amp;quot; &amp;amp; CmbNumber.SelectedValue.Trim
    End Sub
End Class&lt;/pre&gt;&lt;br /&gt; Thanks.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>