Wednesday, March 28, 2012

Difference between <asp:scriptmanager>and <<ajaxToolkit:ScriptManager>

I m new to using the AJAX features please help me to solve my problem.

I want to use AJAX features in myASP.NET with C# website application 2005.

For that i have already installed the following onto my pc.

ASP.NET 2.0 AJAX Extensions 1.0ASP.NET AJAX Futures January CTPASP.NET AJAX Control Toolkit.
In the toolbox on left-side i get the following tab control
AJAX Extensions(after i installed the above tools).

In that i got the ScriptManager Control on the form by selecting the

    File --> New --> Website -->ASP.Net Ajax-Enabled websiteFile --> New --> Website -->ASP.Net Ajax CTP-Enabled website
which are in the visual studio installed templates ......

First of all,i want to know is this installation complete to use the features of AJAX in asp.net 2005 ??And also want to clear whether to work onASP.Net Ajax-Enabled website orASP.Net Ajax CTP-Enabled website for creating the project (what's difference)??I m going to create the master page and the contents page..
When i drag and drop the scriptmanager from
AJAXEXTENSIONS

<asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager>
instead of
 <ajaxToolkit:ScriptManager ID="Script1" runat="server"></ajaxToolkit:ScriptManager>   
what should be used ??
What the difference...Also let me know why i m not gettin the proper inline code...Pls help now...i m not getting any idea...

Please can anyone help me to solve this problem


Waiting for some response...

The latest release is ASP.NET AJAX 1.0. With this you should have

<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
instead of
 <ajaxToolkit:ScriptManager ID="Script1" runat="server"></ajaxToolkit:ScriptManager>
which is correct. And you'd want to work with"ASP.Net Ajax-Enabled website". The CTP version is a preview of future releases
You should get answers to any other questions you may have here:http://ajax.asp.net/default.aspx?tabid=47

No comments:

Post a Comment