Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
Registering Assemblies
posted

Hi,

This might be a little bit more of a ASP.NET question than a specific Infragistics question but here goes.

 

Currently we seem to be regisitering the assemblies in two places. Firstly in the web.config as follows:

<add assembly="Infragistics2.WebUI.WebHtmlEditor.v7.2, Version=7.2.20072.1075,
........

Secondly we register then on the page/control:

<%@ Register Assembly="Infragistics2.WebUI.WebDateChooser.v7.2, Version=7.2.20072.1075, Culture=neutral,
........

Our problem is if we change the infragistrics version we have to change many references throughtout the code. Is there a way to just register the assemblies in the web.config.

I think this just need someone to clear up my thinking of registering .NET assemblies.

Thanks

Chris

Parents
No Data
Reply
  • 10880
    posted

    Our samples use the method you speak of where you place the register tags in the web.config. You can find this web.config in "C:\Users\Public\Documents\Infragistics\NetAdvantage for .NET 2008 Vol. 2 CLR 2.0\Samples\ASP.NET" if you installed the SDK.  Here is a code snippet for the syntax.

    <configuration> 

    <system.web>
           <pages>
          <controls>
            <add tagPrefix="igexcel" namespace="Infragistics.Excel" assembly="Infragistics2.Excel.v8.2, Version=8.2.20082.1000, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB" />

    On side note there are many ways to upgrade besides a manual process.  We provide two utilities, Project Upgrade Add-In and Project Upgrade Utility, that automate this process.  More information for upgrading can be found here:

    http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/Web_Upgrading_Your_ASP_NET_Projects.html
        

Children
No Data