c# - The type or namespace name 'ToolkitScriptManager' does not exist in the namespace 'AjaxControlToolkit' -


 <%@ page language="c#" autoeventwireup="true" codebehind="fileupload.aspx.cs" inherits="test.fileupload" %>  <%@ register assembly="ajaxcontroltoolkit" namespace="ajaxcontroltoolkit" tagprefix="ajaxtoolkit" %>   <div>         <ajaxtoolkit:toolkitscriptmanager id="scriptmanager1" runat="server" />          <div>             <ajaxtoolkit:asyncfileupload runat="server" id="fileupload1" onclientuploadcomplete="uploadcomplete" onclientuploaderror="uploaderror"                 completebackcolor="white" width="350px" uploaderstyle="modern" uploadingbackcolor="#ccffff"                 throbberid="imgload" onuploadedcomplete="fileuploadcomplete"></ajaxtoolkit:asyncfileupload>             <br />             <asp:image id="imgload" runat="server" imageurl="loading.gif" />             <br />             <asp:label id="lblmsg" runat="server" text=""></asp:label>         </div>      </div>  

i have installed ajaxcontroltoolkit, added reference it, added these controls toolbox. ajaxtoolkit:asyncfileupload recognisable. but, getting "the type or namespace name 'toolkitscriptmanager' not exist in namespace 'ajaxcontroltoolkit' (are missing assembly reference?)" ajaxtoolkit:toolkitscriptmanager.

how resolve it?

you add scriptmanager

    <div>         <asp:scriptmanager id="scriptmanager1" runat="server">         </asp:scriptmanager>         <div>             <ajaxtoolkit:asyncfileupload runat="server" id="fileupload1" onclientuploadcomplete="uploadcomplete"                 onclientuploaderror="uploaderror" completebackcolor="white" width="350px" uploaderstyle="modern"                 uploadingbackcolor="#ccffff" throbberid="imgload" onuploadedcomplete="fileuploadcomplete">             </ajaxtoolkit:asyncfileupload>             <br />             <asp:image id="imgload" runat="server" imageurl="loading.gif" />             <br />             <asp:label id="lblmsg" runat="server" text=""></asp:label>         </div>     </div> 

Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -