HI,
I am using AjaxTookit version 3.5.40412.0 for developing web apps in VS2008.
i am using combobox control in my page but once i run the apps it showing "Unknown server tag 'asp:ComboBox'"
please help me how to resolve this issue.
Regards,
Jeevan.
Loading
jeevan mummadiPosted Apr 21, 2011, 5:35 AM
I uninstalled and installed new AjaxToolKit version 3.5.40412.0
And i created one new page with Ajax Combobox with ScriptManger and Updatepanel.
Code :
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="AjaxToolKitExample._Default" %><%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp1" %>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml" >
this time i am getting this error.
Microsoft JScript runtime error: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll.
why AjaxTookit version 3.5.40412.0 will not support Scriptmanager and updatepanel ?
And i deleted scriptmanager and update panel from above code and added ToolKitScriptManger then i run the page.
Now its working fine.
But in real time i developed my asp pages are using script manger and updatepanel.
give me solution?
Regards,
Jeevan.
Suthish NairPosted Apr 21, 2011, 2:17 AM
Ankit NandekarPosted Apr 21, 2011, 1:11 AM
jeevan mummadiPosted Apr 21, 2011, 12:20 AM
I added system.web.extension dll and ajaxtoolkit dll and i changed TagPrefix as "asp" to "asp1" .
Still i am getting same error "Unknown server tag 'asp:ComboBox' ".
this is my actual code please look into this.
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMaster.Master" AutoEventWireup="true" CodeBehind="CustomerEntry.aspx.cs" Inherits="Web.Railway.CustomerEntry" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp1" %>
<%@ Register TagPrefix="obout" Namespace="Obout.Grid" Assembly="obout_Grid_NET" %>
<%@ Register TagPrefix="obout" Namespace="Obout.Interface" Assembly="obout_Interface" %>
<%@ Register Src="~/UserControls/CityAccess.ascx" TagName="CityAccess" TagPrefix="ucity" %>
Customer Entry
<%--
Customer Name
<%--
>--%>
ValidationGroup="Validate">
errormessage="Please Enter Proper Name" ValidationGroup="Validate" />
Customer Mobile Number
<%--
>--%>
ErrorMessage="Please Enter Customer Mobile Number" ValidationGroup="Validate">
<%--
ValidationExpression="^\d+$" ValidationGroup="Validate">--%>
errormessage="Enter Valid Mobile Number" ValidationGroup="Validate" />
<%--^[0-9]{10}$--%>
Drop Location
<%--
--%>
<%--
Height="180px" AutoPostBack="True">
<%--
ValidationGroup="Validate">
Terminal
onselectedindexchanged="oddlTerminal_SelectedIndexChanged">
FolderStyle="" ValidationGroup="Validate">
Payment Mode
AutoPostBack="True" />
AutoPostBack="True" />
AutoPostBack="True" />
OnClick="btnSubmit_Click" ValidationGroup="Validate" >
<%-- OnClientClick="CheckLength()" --%>
ForeColor="Blue">
ForeColor="Blue">
ForeColor="Blue">
ForeColor="Blue">
<%--Customer Details At Aiport--%>
Cabs Inside Railway Station
FolderStyle="~/style/premiere_blue" AllowSorting="true" AllowFiltering="false" AllowPaging="true" AllowPageSizeSelection="false"
Width="100%" PageSize="50" Height="300" >
In this page i am using Obout controls( third party tools).
Regards,
Jeevan.
Suthish NairPosted Apr 20, 2011, 4:55 PM
Ravishankar SinghPosted Apr 20, 2011, 2:04 PM
Ankit NandekarPosted Apr 20, 2011, 1:55 PM
jeevan mummadiPosted Apr 20, 2011, 12:44 PM
i am giving only sample code to u.
and i added more asp controls in update panel.
Please tell me, this version of Ajax toolkit controls are support scriptmanager and updatepanel.
Because of i am using scriptmanager and updatepanel in every page.
Regards,
Jeevan.
Ankit NandekarPosted Apr 20, 2011, 9:43 AM