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
190
Dynamic creation
posted

Hi I have creating WebCombo and UltraWebGrid dynamically. But in IE 7 an error ocurr when a post back is fired.

oCombo._unloadCombo();

Thank you for your help.
André

Assembly = Infragistics35.WebUI.WebCombo.v8.2, Version=8.2.20082.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb

Parents Reply
  • 180
    posted in reply to [Infragistics] Sung Kim

    I performed the procedure to describe it:

    ------------------------------------------------

    http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=6158

    This will tell the control to use the local copies of the scripts and not the embedded ones.  This will allow you to modify the script to work in your scenario.  Go to function igcmbo_initCombo in the ig_webcombo3_1.js file and wrap the oCombo._unloadCombo() method call with an if statement like so:

    if(!typeof(oCombo._unloadCombo)=="undefined")

    {

    oCombo._unloadCombo();

    }

    ------------------------------------------------

    When I run the program leaves me this error:

     Run-time error in Microsoft BLOCKED SCRIPT Sys.ScriptLoadFailedException: The script 'scripts/inf/ig_webcombo3_1.js' failed to load. Check for:

      Inaccessible path.
      Script errors. (IE) Enable 'Display a notification about every script error' under advanced settings.
      Missing call to Sys.Application.notifyScriptLoaded ().
     
    -----------------------------------------------------
     I added in webconfig:
     
    <infragistics.web enableAppStyling="true" styleSetName="Office2007Blue" styleSetPath="~/ig_res/" javaScriptDirectory="~/scripts/inf/"/>
     
    I moved all the files in the folder js /scripts/inf/.
     
Children