Problem with tagprefix

4 posts, 0 answers
  1. Filleau
    Filleau avatar
    114 posts
    Member since:
    Jun 2006

    Posted 01 Apr 2009 Link to this post

    Hi
    I have a big problem with a project, trying to upgrade it with the latest release.
    I use VS2008 and Q2009

    VS2008 say an error on all of my telerik controls.

    For example, for the line

    <

     

    telerik:RadTextBox ID="Ztitre" runat="server" ReadOnly="True" Style="z-index: 120; left: 20px;

     

     

    position: absolute; top: 499px; width: 317px;" Skin="Default"

     

     

    Label="Fonction : &nbsp;&nbsp;" Width="320px">

     

     

    </telerik:RadTextBox>

     

    The words teletrik, ID, Readonly, Skin and Label are underlined in green.
    So I think that VS2008 don't understand all telerik tagprefix.

    What is wrong ? I don't know where to search.

    Thanks

    Here the begining of my page


    <%

    @ Page Language="VB" AutoEventWireup="false" CodeFile="Default4.aspx.vb" Inherits="Default4" EnableSessionState="false" %>

     

    <%

    @ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

     

     

    <!

     

    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>Page sans titre</title>

     

     

    <style type="text/css">

     

     

    .defaultlabel

    {

     

    font:12px arial,verdana,sans-serif;

     

     

    color:#000;

     

     

    text-align: left;

     

     

    top: 236px;

     

     

    left: 598px;

     

     

    position: absolute;

     

     

    height: 23px;

     

    }

     

     

    </style>

     

    </

     

    head>

     

    <

     

    body bgcolor="#e7e7e7">

     

     

    <form id="form1" runat="server" method="get">

     

     

     

    <telerik:RadScriptManager ID="RadScriptManager1" runat="server"

     

     

    EnableTheming="True">

     

     

    </telerik:RadScriptManager>

     

     

    <telerik:RadTabStrip ID="RadTabABC" runat="server" SelectedIndex="19"

     

     

    Skin="Vista"
    etc etc

    And my Web.Config

     

    <?

     

    xml version="1.0"?>

     

    <!--

     

     

    Remarque : au lieu d'diter manuellement ce fichier, vous pouvez utiliser

    l'outil d'administration Web pour configurer les paramtres de votre

    application. Utilisez l'option Site Web->Configuration Asp.Net de Visual Studio.

    Vous trouverez la liste complte des paramtres et commentaires dans

    machine.config.comments, situ gnralement dans

    \Windows\Microsoft.Net\Framework\v2.x\Config

     

     

     

    -->

    <

     

    configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

     

    <

     

    configSections>

     

    <

     

    sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

     

    <

     

    sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

     

    <

     

    section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />

     

    <

     

    sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

     

    <

     

    section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />

     

    <

     

    section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />

     

    <

     

    section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />

     

    <

     

    section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />

     

    </

     

    sectionGroup>

     

    </

     

    sectionGroup>

     

    </

     

    sectionGroup>

     

    </

     

    configSections>

     

    <

     

    appSettings />

     

    <

     

    connectionStrings />

     

    <

     

    system.web>

     

    <!--

     

     

    Dfinissez compilation debug="true" pour insrer des symboles

    de dbogage dans la page compile. Comme ceci

    affecte les performances, dfinissez cette valeur en utilisant true uniquement

    lors du dveloppement.

    Options Visual Basic:

    Dfinissez strict="true" pour interdire les conversions de types de donnes

    susceptibles d'entraner des pertes de donnes.

    Dfinissez explicit="true" pour forcer la dclaration de toutes les variables.

     

     

    -->

     

    <

     

    compilation debug="true" strict="false" explicit="true">

     

    <

     

    assemblies>

     

    <

     

    add assembly="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />

     

    <

     

    add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />

     

    <

     

    add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />

     

    <

     

    add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />

     

    <

     

    add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

     

    <

     

    add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />

     

    <

     

    add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />

     

    <

     

    add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />

     

    </

     

    assemblies>

     

    </

     

    compilation>

     

    <

     

    pages>

     

    <

     

    namespaces>

     

    <

     

    clear />

     

    <

     

    add namespace="System" />

     

    <

     

    add namespace="System.Collections" />

     

    <

     

    add namespace="System.Collections.Specialized" />

     

    <

     

    add namespace="System.Configuration" />

     

    <

     

    add namespace="System.Text" />

     

    <

     

    add namespace="System.Text.RegularExpressions" />

     

    <

     

    add namespace="System.Web" />

     

    <

     

    add namespace="System.Web.Caching" />

     

    <

     

    add namespace="System.Web.SessionState" />

     

    <

     

    add namespace="System.Web.Security" />

     

    <

     

    add namespace="System.Web.Profile" />

     

    <

     

    add namespace="System.Web.UI" />

     

    <

     

    add namespace="System.Web.UI.WebControls" />

     

    <

     

    add namespace="System.Web.UI.WebControls.WebParts" />

     

    <

     

    add namespace="System.Web.UI.HtmlControls" />

     

    </

     

    namespaces>

     

    <

     

    controls>

     

    <

     

    add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

     

    <

     

    add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

     

    </

     

    controls>

     

    </

     

    pages>

     

    <!--

     

     

     

    La section <authentication> permet la configuration

    du mode d'authentification de scurit utilis par

    ASP.NET pour identifier un utilisateur entrant.

     

     

    -->

     

    <

     

    authentication mode="Windows" />

     

    <!--

     

     

     

    La section <customErrors> permet de configurer

    les actions excuter si/quand une erreur non gre se produit

    lors de l'excution d'une demande. Plus prcisment,

    elle permet aux dveloppeurs de configurer les pages d'erreur html

    pour qu'elles s'affichent la place d'une trace de la pile d'erreur.

    <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">

    <error statusCode="403" redirect="NoAccess.htm" />

    <error statusCode="404" redirect="FileNotFound.htm" />

    </customErrors>

     

     

    -->

     

    <

     

    httpHandlers>

     

    <

     

    remove path="*.asmx" verb="*" />

     

    <

     

    add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />

     

    <

     

    add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />

     

    <

     

    add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />

     

    <

     

    add verb="*" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />

     

    <

     

    add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />

     

    </

     

    httpHandlers>

     

    <

     

    httpModules>

     

    <

     

    add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

     

    </

     

    httpModules>

     

    </

     

    system.web>

     

    <

     

    system.codedom>

     

    <

     

    compilers>

     

    <

     

    compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">

     

    <

     

    providerOption name="CompilerVersion" value="v3.5" />

     

    <

     

    providerOption name="WarnAsError" value="false" />

     

    </

     

    compiler>

     

    <

     

    compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">

     

    <

     

    providerOption name="CompilerVersion" value="v3.5" />

     

    <

     

    providerOption name="OptionInfer" value="true" />

     

    <

     

    providerOption name="WarnAsError" value="false" />

     

    </

     

    compiler>

     

    </

     

    compilers>

     

    </

     

    system.codedom>

     

    <

     

    system.webServer>

     

    <

     

    validation validateIntegratedModeConfiguration="false" />

     

    <

     

    modules>

     

    <

     

    remove name="ScriptModule" />

     

    <

     

    add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

     

    </

     

    modules>

     

    <

     

    handlers>

     

    <

     

    remove name="WebServiceHandlerFactory-Integrated" />

     

    <

     

    remove name="ScriptHandlerFactory" />

     

    <

     

    remove name="ScriptHandlerFactoryAppServices" />

     

    <

     

    remove name="ScriptResource" />

     

    <

     

    add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

     

    <

     

    add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

     

    <

     

    add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

     

    <

     

    add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />

     

    </

     

    handlers>

     

    </

     

    system.webServer>

     

    <

     

    runtime>

     

    <

     

    assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

     

    <

     

    dependentAssembly>

     

    <

     

    assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />

     

    <

     

    bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />

     

    </

     

    dependentAssembly>

     

    <

     

    dependentAssembly>

     

    <

     

    assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />

     

    <

     

    bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />

     

    </

     

    dependentAssembly>

     

    </

     

    assemblyBinding>

     

    </

     

    runtime>

     

    </

     

    configuration>

     

  2. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 02 Apr 2009 Link to this post

    Hello Filleau,

    In your case I suggest that you try installing RadControls from exe file. The EXE files are intended for easy and automatic installation of a product. The EXE installs the suite on your computer to a folder named Telerik in your Program Files, automatically creating the necessary virtual folders and projects.

    How to install RadControls from the latest release you can see from the following help topics.
    Which file do I need to install?
    Installing RadControls from EXE file

    I hope this helps.

    Kind regards,
    Pavlina
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Filleau
    Filleau avatar
    114 posts
    Member since:
    Jun 2006

    Posted 02 Apr 2009 Link to this post

    The install was made by the Exe and my others projects have no problem.

     

    I don't say this is a bug with your product, but because I'm a beginer, I would like to know the reason why.

     

    But I rewrited (copy & paste) all my project and everything is OK now.  I think I had a problem with my project himself in VS.

     

    Thanks

  5. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 06 Apr 2009 Link to this post

    Hello Filleau,

    I followed your scenario in order to replicate the issue but to no avail. At this point it will be best if you send us a small runnable application with reproduced this erroneous behavior. Thus I will do my best to find a quick resolution of this issue.

    Looking forward for your reply.

    Greetings,
    Pavlina
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Back to Top