none
Problema com AjaxControlToolKit no VS 2010 RRS feed

  • Pergunta

  • Bom, instalei o visual studio 2010 professional e tive uma dúvida logo de cara. Na toolbox tem a aba AjaxControlToolKit, porém não tem os ícones do lado (fica um ícone de texto em todos os controles) e quando eu arrasto qualquer controle ajax para o projeto, em vez de adicionar o controle, aparece um código (esse que está logo abaixo). Minha dúvida é, eu preciso de instalar o AjaxControlToolKit manualmente? Os controles da aba AJAX Extensions estão certinhos. O problema é só com os controles da aba AjaxControlToolKit.

    <SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <SOAP-ENV:Body>
    <a1:WebControlToolboxItem id="ref-1" xmlns:a1="http://schemas.microsoft.com/clr/nsassem/System.Web.UI.Design/System.Design%2C%20Version%3D2.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db03f5f7f11d50a3a">
    <Locked>true</Locked>
    <TypeName id="ref-5">AjaxControlToolkit.Accordion</TypeName>
    <AssemblyName href="#ref-6"/>
    <DependentAssemblies href="#ref-7"/>
    <Bitmap href="#ref-8"/>
    <Description id="ref-9"></Description>
    <DisplayName id="ref-10">Accordion</DisplayName>
    <Filter href="#ref-11"/>
    <PropertyNames href="#ref-12"/>
    <ToolData id="ref-13">&#60;{0}:Accordion runat=server&#62;&#60;/{0}:Accordion&#62;</ToolData>
    <PersistChildren>1</PersistChildren>
    </a1:WebControlToolboxItem>
    <a2:AssemblyName id="ref-6" xmlns:a2="http://schemas.microsoft.com/clr/ns/System.Reflection">
    <_Name id="ref-14">AjaxControlToolkit</_Name>
    <_PublicKey href="#ref-15"/>
    <_PublicKeyToken xsi:null="1"/>
    <_CultureInfo>127</_CultureInfo>
    <_CodeBase id="ref-16">file:///C:/Program Files (x86)/Microsoft ASP.NET/AjaxControlToolkit.Binary.NET35/AjaxControlToolkit.dll</_CodeBase>
    <_Version href="#ref-17"/>
    <_HashAlgorithm xsi:type="a6:AssemblyHashAlgorithm" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">SHA1</_HashAlgorithm>
    <_HashAlgorithmForControl xsi:type="a6:AssemblyHashAlgorithm" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">None</_HashAlgorithmForControl>
    <_StrongNameKeyPair xsi:null="1"/>
    <_VersionCompatibility xsi:type="a6:AssemblyVersionCompatibility" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">SameMachine</_VersionCompatibility>
    <_Flags xsi:type="a2:AssemblyNameFlags" xmlns:a2="http://schemas.microsoft.com/clr/ns/System.Reflection">17</_Flags>
    <_HashForControl xsi:null="1"/>
    </a2:AssemblyName>
    <SOAP-ENC:Array id="ref-7" SOAP-ENC:arrayType="a2:AssemblyName[3]" xmlns:a2="http://schemas.microsoft.com/clr/ns/System.Reflection">
    <item href="#ref-18"/>
    <item href="#ref-19"/>
    <item href="#ref-20"/>
    </SOAP-ENC:Array>
    <a3:Bitmap id="ref-8" xmlns:a3="http://schemas.microsoft.com/clr/nsassem/System.Drawing/System.Drawing%2C%20Version%3D2.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db03f5f7f11d50a3a">
    <Data href="#ref-21"/>
    </a3:Bitmap>
    <SOAP-ENC:Array id="ref-11" SOAP-ENC:arrayType="a4:ToolboxItemFilterAttribute[2]" xmlns:a4="http://schemas.microsoft.com/clr/nsassem/System.ComponentModel/System%2C%20Version%3D2.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db77a5c561934e089">
    <item href="#ref-22"/>
    <item href="#ref-23"/>
    </SOAP-ENC:Array>
    <SOAP-ENC:Array id="ref-12" SOAP-ENC:arrayType="xsd:string[7]">
    <item id="ref-24">TypeName</item>
    <item id="ref-25">AssemblyName</item>
    <item id="ref-26">DependentAssemblies</item>
    <item id="ref-27">Bitmap</item>
    <item id="ref-28">Description</item>
    <item id="ref-29">DisplayName</item>
    <item id="ref-30">Filter</item>
    </SOAP-ENC:Array>
    <SOAP-ENC:Array id="ref-15" xsi:type="SOAP-ENC:base64">ACQAAASAAACUAAAABgIAAAAkAABSU0ExAAQAAAEAAQCPK9TDyQ7IhUYTfpE2AHQf3d2SnwXQMtUv0WBriGCYmbP3N6DmiBxfO7oKGPxgUoeQ9lLmSkGGh/tTjDyG0yWGbW2wch4W30ixt8brsHvIg9ShGeherOERCEL1lxI4Xr5q4qAiniBe+OKEzsCiF84e7L1jwb9HR4VV/J42rx7xsw==</SOAP-ENC:Array>
    <a5:Version id="ref-17" xmlns:a5="http://schemas.microsoft.com/clr/ns/System">
    <_Major>3</_Major>
    <_Minor>5</_Minor>
    <_Build>40412</_Build>
    <_Revision>0</_Revision>
    </a5:Version>
    <a2:AssemblyName id="ref-18" xmlns:a2="http://schemas.microsoft.com/clr/ns/System.Reflection">
    <_Name id="ref-31">AjaxControlToolkit</_Name>
    <_PublicKey href="#ref-32"/>
    <_PublicKeyToken xsi:null="1"/>
    <_CultureInfo>127</_CultureInfo>
    <_CodeBase id="ref-33">file:///C:/Program Files (x86)/Microsoft ASP.NET/AjaxControlToolkit.Binary.NET35/AjaxControlToolkit.dll</_CodeBase>
    <_Version href="#ref-34"/>
    <_HashAlgorithm xsi:type="a6:AssemblyHashAlgorithm" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">SHA1</_HashAlgorithm>
    <_HashAlgorithmForControl xsi:type="a6:AssemblyHashAlgorithm" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">None</_HashAlgorithmForControl>
    <_StrongNameKeyPair xsi:null="1"/>
    <_VersionCompatibility xsi:type="a6:AssemblyVersionCompatibility" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">SameMachine</_VersionCompatibility>
    <_Flags xsi:type="a2:AssemblyNameFlags" xmlns:a2="http://schemas.microsoft.com/clr/ns/System.Reflection">17</_Flags>
    <_HashForControl xsi:null="1"/>
    </a2:AssemblyName>
    <a2:AssemblyName id="ref-19" xmlns:a2="http://schemas.microsoft.com/clr/ns/System.Reflection">
    <_Name id="ref-35">System.Web</_Name>
    <_PublicKey xsi:null="1"/>
    <_PublicKeyToken href="#ref-36"/>
    <_CultureInfo>127</_CultureInfo>
    <_CodeBase xsi:type="xsd:anyType" xsi:null="1"/>
    <_Version href="#ref-37"/>
    <_HashAlgorithm xsi:type="a6:AssemblyHashAlgorithm" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">SHA1</_HashAlgorithm>
    <_HashAlgorithmForControl xsi:type="a6:AssemblyHashAlgorithm" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">None</_HashAlgorithmForControl>
    <_StrongNameKeyPair xsi:null="1"/>
    <_VersionCompatibility xsi:type="a6:AssemblyVersionCompatibility" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">SameMachine</_VersionCompatibility>
    <_Flags xsi:type="a2:AssemblyNameFlags" xmlns:a2="http://schemas.microsoft.com/clr/ns/System.Reflection">None</_Flags>
    <_HashForControl xsi:null="1"/>
    </a2:AssemblyName>
    <a2:AssemblyName id="ref-20" xmlns:a2="http://schemas.microsoft.com/clr/ns/System.Reflection">
    <_Name id="ref-38">mscorlib</_Name>
    <_PublicKey xsi:null="1"/>
    <_PublicKeyToken href="#ref-39"/>
    <_CultureInfo>127</_CultureInfo>
    <_CodeBase xsi:type="xsd:anyType" xsi:null="1"/>
    <_Version href="#ref-40"/>
    <_HashAlgorithm xsi:type="a6:AssemblyHashAlgorithm" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">SHA1</_HashAlgorithm>
    <_HashAlgorithmForControl xsi:type="a6:AssemblyHashAlgorithm" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">None</_HashAlgorithmForControl>
    <_StrongNameKeyPair xsi:null="1"/>
    <_VersionCompatibility xsi:type="a6:AssemblyVersionCompatibility" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">SameMachine</_VersionCompatibility>
    <_Flags xsi:type="a2:AssemblyNameFlags" xmlns:a2="http://schemas.microsoft.com/clr/ns/System.Reflection">None</_Flags>
    <_HashForControl xsi:null="1"/>
    </a2:AssemblyName>
    <SOAP-ENC:Array id="ref-21" xsi:type="SOAP-ENC:base64">iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAE1SURBVDhPzZPPSwJBFMf90wKhQ1D0A6KMDv2A6NChDoUEgWGp667LqrM4srL+2nVcvEeBeQiKgiI71cHoP/nmEyLHoUI61IN3mHlvvvN5896EQv/CgmYT5KIh4HseatUqyq6LkuOgyAuwbRs5KwvTNGHoOrSUBglcCIFxjHMuC/i+D9oc9pPLQ0TPdhBhs0pMEXjt9TDqJOC+5bDuLCsxypVK6LTbSlLs/ACn3ShW+YISo3xJYPj2wmMG7D4N/eoYR9e7mEmHscLmsFmKSEJfEnSfH7DX2gJ7SWL/Yhtr7iKm4hPo3H1SfktANLdPN5i3JrFRW8J0Iiwd/qCVCAZzENAsBP1ZaMCr11EpVwYixX53WD6PrGUhYxjQNQ2pZEJ+AxIYx5Q2ksDoHPy0Vkr4W4Lf/Oh3GWYakLm0CFUAAAAASUVORK5CYII=</SOAP-ENC:Array>
    <a4:ToolboxItemFilterAttribute id="ref-22" xmlns:a4="http://schemas.microsoft.com/clr/nsassem/System.ComponentModel/System%2C%20Version%3D2.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db77a5c561934e089">
    <filterType>Require</filterType>
    <filterString id="ref-41">System.Web.UI</filterString>
    <typeId id="ref-42">System.ComponentModel.ToolboxItemFilterAttributeSystem.Web.UI</typeId>
    </a4:ToolboxItemFilterAttribute>
    <a4:ToolboxItemFilterAttribute id="ref-23" xmlns:a4="http://schemas.microsoft.com/clr/nsassem/System.ComponentModel/System%2C%20Version%3D2.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db77a5c561934e089">
    <filterType>Allow</filterType>
    <filterString href="#ref-5"/>
    <typeId xsi:null="1"/>
    </a4:ToolboxItemFilterAttribute>
    <SOAP-ENC:Array id="ref-32" xsi:type="SOAP-ENC:base64">ACQAAASAAACUAAAABgIAAAAkAABSU0ExAAQAAAEAAQCPK9TDyQ7IhUYTfpE2AHQf3d2SnwXQMtUv0WBriGCYmbP3N6DmiBxfO7oKGPxgUoeQ9lLmSkGGh/tTjDyG0yWGbW2wch4W30ixt8brsHvIg9ShGeherOERCEL1lxI4Xr5q4qAiniBe+OKEzsCiF84e7L1jwb9HR4VV/J42rx7xsw==</SOAP-ENC:Array>
    <a5:Version id="ref-34" xmlns:a5="http://schemas.microsoft.com/clr/ns/System">
    <_Major>3</_Major>
    <_Minor>5</_Minor>
    <_Build>40412</_Build>
    <_Revision>0</_Revision>
    </a5:Version>
    <SOAP-ENC:Array id="ref-36" xsi:type="SOAP-ENC:base64">sD9ffxHVCjo=</SOAP-ENC:Array>
    <a5:Version id="ref-37" xmlns:a5="http://schemas.microsoft.com/clr/ns/System">
    <_Major>2</_Major>
    <_Minor>0</_Minor>
    <_Build>0</_Build>
    <_Revision>0</_Revision>
    </a5:Version>
    <SOAP-ENC:Array id="ref-39" xsi:type="SOAP-ENC:base64">t3pcVhk04Ik=</SOAP-ENC:Array>
    <a5:Version id="ref-40" xmlns:a5="http://schemas.microsoft.com/clr/ns/System">
    <_Major>2</_Major>
    <_Minor>0</_Minor>
    <_Build>0</_Build>
    <_Revision>0</_Revision>
    </a5:Version>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

    sexta-feira, 25 de fevereiro de 2011 22:16

Todas as Respostas

  • sábado, 26 de fevereiro de 2011 00:14
    Moderador
  • Eu baixei o AjaxControlToolkit.Binary.NET4, removi a aba que tava bixada, criei outra e adicionei a dll. Mas quando eu adiciono algum controle, o projeto cria uma pasta bin com uma porrada de pastas e cada pasta com esse arquivo dll dentro, AjaxControlToolkit.resources.dll além de criar fora dessas pasta a dll AjaxControlToolkit.dll e AjaxControlToolkit.pdb. Estou perguntando isso pois achei estranho. No VS 2005 não acontecia isso. Alguem sabe me informar se isto está correto de acontecer e porque isso acontece no VS 2010? 
    sábado, 26 de fevereiro de 2011 05:42