Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 25, 2013 02:26 AM by chetan.sarode
Member
81 Points
196 Posts
Feb 22, 2013 05:54 PM|LINK
i added combo box to my page and added item to that but when i run there is no item in that.
<%@ 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"> </asp:ScriptManager> <asp:ComboBox ID="ComboBox1" runat="server" DropDownStyle="DropDownList" AutoCompleteMode="Suggest"> <asp:ListItem>masoud</asp:ListItem> <asp:ListItem Value="1">ahmed</asp:ListItem> </asp:ComboBox> </div> </form> </body> </html>
Star
11234 Points
1723 Posts
Feb 22, 2013 07:40 PM|LINK
Salam Masoud,
Your code is working fine for me. I can see items on clicking combo box button on the right
I have 4.1.60919 Build
All-Star
65729 Points
11138 Posts
Feb 25, 2013 02:26 AM|LINK
Hi,
Make sure you install the correct version of the AjaxControlToolkit:
Version 3.0.20229 2008-02-29 release of the AJAX Control Toolkit targets the official release of .NET Framework 3.5 and Visual Studio 2008.
Version 1.0.20229 You can also download the Toolkit for .NET Framework 2.0, ASP.NET AJAX 1.0 and Visual Studio 2005.
Version 3.0.40412
April 12, 2010 release of the AJAX Control Toolkit for ASP.NET 3.5 Service Pack 1 and Visual Studio 2008 SP1.
Version 4.1.51116.0
Nov 16 2011 release of the AJAX Control Toolkit for ASP.NET 4.0 and Visual Studio 2010
Then you could add the Ajax Control Toolkit to the VS Toolbox step by step at:http://www.asp.net/ajaxlibrary/act.ashx.
masoud-s
Member
81 Points
196 Posts
combo box does not show it's items
Feb 22, 2013 05:54 PM|LINK
i added combo box to my page and added item to that but when i run there is no item in that.
<%@ 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"> </asp:ScriptManager> <asp:ComboBox ID="ComboBox1" runat="server" DropDownStyle="DropDownList" AutoCompleteMode="Suggest"> <asp:ListItem>masoud</asp:ListItem> <asp:ListItem Value="1">ahmed</asp:ListItem> </asp:ComboBox> </div> </form> </body> </html>Nasser Malik
Star
11234 Points
1723 Posts
Re: combo box does not show it's items
Feb 22, 2013 07:40 PM|LINK
Salam Masoud,
Your code is working fine for me. I can see items on clicking combo box button on the right
I have 4.1.60919 Build
Skype: maleknasser1
chetan.sarod...
All-Star
65729 Points
11138 Posts
Re: combo box does not show it's items
Feb 25, 2013 02:26 AM|LINK
Hi,
Make sure you install the correct version of the AjaxControlToolkit:
Version 3.0.20229 2008-02-29 release of the AJAX Control Toolkit targets the official release of .NET Framework 3.5 and Visual Studio 2008.
Version 1.0.20229 You can also download the Toolkit for .NET Framework 2.0, ASP.NET AJAX 1.0 and Visual Studio 2005.
Version 3.0.40412
April 12, 2010 release of the AJAX Control Toolkit for ASP.NET 3.5 Service Pack 1 and Visual Studio 2008 SP1.
Version 4.1.51116.0
Nov 16 2011 release of the AJAX Control Toolkit for ASP.NET 4.0 and Visual Studio 2010
Then you could add the Ajax Control Toolkit to the VS Toolbox step by step at:http://www.asp.net/ajaxlibrary/act.ashx.
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.