Click here to Skip to main content
16,004,833 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to use ajax controls in my website. i use vs2008. Please tell me how to install ajax controls and add in my toolbox and use them. please tell me immediately step by step. I am new ajax user.
Posted
Comments
vijay__p 17-May-13 0:59am    
http://www.asp.net/ajaxlibrary/act.ashx

1 solution

First of all download Toolkit from here

Ajax Control Toolkit


Then refer to below link for using that toolkit in your visual studio

Installing AJAX Control Toolkit in Visual Studio 2008
 
Share this answer
 
Comments
jayasree acharyya 17-May-13 8:23am    
i have created an ajax enabled web form like below:--

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">

Password :
<asp:TextBox ID="TextBox1" runat="server" TextMode="Password">
<br />
<asp:PasswordStrength ID="TextBox1_PasswordStrength" runat="server" Enabled="true" TargetControlID="TextBox1">

<asp:DropShadowExtender ID="TextBox1_DropShadowExtender" runat="server" Enabled="true" TargetControlID="TextBox1">

<br />
<br />
<asp:Accordion ID="Accordion1" runat="server" RequireOpenedPane="false">
<Panes>
<asp:AccordionPane ID="AccPane1" runat="server">
<Header>This is a pane1</Header>
<content>This is pane 1 content

<asp:AccordionPane ID="AccPane2" runat="server">
<Header>This is Pane2</Header>
<content>This is Pane2 Content

<asp:AccordionPane ID="AccPane3" runat="server">
<Header>This is Pane3</Header>
<content>This is pane3 Content

</Panes>


</div>
</form>
</body>
</html>


Now it has no effect at run time . i use opera and google chrome upper versions. what is the problem. please reply
Thanks7872 17-May-13 8:25am    
Hello jayshree,please close this question by accepting the answer if it helped you in solving your actual question and post the above code as new question.
jayasree acharyya 17-May-13 8:32am    
i accept your answer but when create the above page then no effect found at run time. please reply
Thanks7872 17-May-13 8:33am    
Use the below code

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">

Password :
<asp:TextBox ID="TextBox1" runat="server" TextMode="Password">
<br />
<asp:PasswordStrength ID="TextBox1_PasswordStrength" runat="server" Enabled="true"
TargetControlID="TextBox1">

<asp:DropShadowExtender ID="TextBox1_DropShadowExtender" runat="server" Enabled="true"
TargetControlID="TextBox1">

<br />
<br />
<asp:Accordion ID="Accordion1" runat="server" RequireOpenedPane="false">
<Panes>
<asp:AccordionPane ID="AccPane1" runat="server">
<Header>
This is a pane1</Header>

<asp:AccordionPane ID="AccPane2" runat="server">
<Header>
This is Pane2</Header>

<asp:AccordionPane ID="AccPane3" runat="server">
<Header>
This is Pane3</Header>

</Panes>

</div>
</form>
</body>
</html>
jayasree acharyya 17-May-13 21:18pm    
i have closed the relative tags. but no effect found. is it need any behind code?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900