locked
Getting Javascript error in Modal popup dialogue in Asp.net RRS feed

  • Question

  • User1556740665 posted

    Hello All,

    When I am using auto post back events in the panel in model popup dialouge in asp.net. I am getting below javascript error.

    JavaScript runtime error: Sys.ArgumentUndefinedException: Value cannot be undefined.
    Parameter name: element

    Could you please help on this.

    Monday, December 28, 2020 7:53 AM

All replies

  • User-939850651 posted

    Hi rahendar.gujjula,

    Based on your description, I did some searches.

    Are you using Microsoft.Web.Preview.UI.Controls? If this is the case, you need to configure the webConfig.

    Something like this:

    <add namespace="Microsoft.Web.Preview.UI" assembly="Microsoft.Web.Preview" tagPrefix="asp"/>
    
    <add namespace="Microsoft.Web.Preview.UI.Controls" assembly="Microsoft.Web.Preview" tagPrefix="asp"/>

    And this is a similar case : https://forums.asp.net/t/1038013.aspx

    But If I misunderstood something, please provide more details, which will help us solve your problem.

    Best regards,

    Xudong Peng

    Tuesday, December 29, 2020 5:39 AM