ASP.Net Web Forms - mdb.js causing errors on link button cli


Topic: ASP.Net Web Forms - mdb.js causing errors on link button click

ElcomMDB pro premium asked a week ago

We are experiencing an issue with using MDB Bootstrap 5 with ASP.Net web forms. The issue occurs when a asp link button is placed inside an update panel and the mdb.js file is referenced on that page.

When the .js file is referenced it causes any link buttons that are within the update panel to produce the javascript error stated below instead of firing their associated code behind events. When the mdb.js file is not referenced they function correctly and all code behind events are triggered. Using post back triggers for the update panel will allow the link buttons to fire their code behind events but we would very much like to be able to not have to go down that route.

Any help on how we can get link buttons to behave as they would before the mdb.js file is integrated would be appreciated.

Resources (screenshots, code snippets etc.)

Console error in google chrome

Uncaught Sys.ParameterCountException: Sys.ParameterCountException: Parameter count mismatch. at Function.Error$create [as create] (http://localhost:59929/ScriptResource.axd?d=1EygOrTZzgIcSQu2BRwUtiYY660zxHkEXrnvP8dOiIE9zWTKTEPZSe0GmulwnpOcTc9mK7q8_4jLkf9F9D8WoeOQVTmcjxhEv_333SfMmwcLW5IC0YDnshXcIIPn7w3YSy1GAw2&t=ffffffffda74082d:847:15) at Object.Sys._error (http://localhost:59929/ScriptResource.axd?d=1EygOrTZzgIcSQu2BRwUtiYY660zxHkEXrnvP8dOiIE9zWTKTEPZSe0GmulwnpOcTc9mK7q8_4jLkf9F9D8WoeOQVTmcjxhEv_333SfMmwcLW5IC0YDnshXcIIPn7w3YSy1GAw2&t=ffffffffda74082d:830:21) at Function.Error$parameterCount [as parameterCount] (http://localhost:59929/ScriptResource.axd?d=1EygOrTZzgIcSQu2BRwUtiYY660zxHkEXrnvP8dOiIE9zWTKTEPZSe0GmulwnpOcTc9mK7q8_4jLkf9F9D8WoeOQVTmcjxhEv_333SfMmwcLW5IC0YDnshXcIIPn7w3YSy1GAw2&t=ffffffffda74082d:1012:16) at Function$_validateParameterCount [as _validateParameterCount] (http://localhost:59929/ScriptResource.axd?d=1EygOrTZzgIcSQu2BRwUtiYY660zxHkEXrnvP8dOiIE9zWTKTEPZSe0GmulwnpOcTc9mK7q8_4jLkf9F9D8WoeOQVTmcjxhEv_333SfMmwcLW5IC0YDnshXcIIPn7w3YSy1GAw2&t=ffffffffda74082d:704:23) at Function$_validateParams [as _validateParams] (http://localhost:59929/ScriptResource.axd?d=1EygOrTZzgIcSQu2BRwUtiYY660zxHkEXrnvP8dOiIE9zWTKTEPZSe0GmulwnpOcTc9mK7q8_4jLkf9F9D8WoeOQVTmcjxhEv_333SfMmwcLW5IC0YDnshXcIIPn7w3YSy1GAw2&t=ffffffffda74082d:654:18) at String$startsWith (http://localhost:59929/ScriptResource.axd?d=1EygOrTZzgIcSQu2BRwUtiYY660zxHkEXrnvP8dOiIE9zWTKTEPZSe0GmulwnpOcTc9mK7q8_4jLkf9F9D8WoeOQVTmcjxhEv_333SfMmwcLW5IC0YDnshXcIIPn7w3YSy1GAw2&t=ffffffffda74082d:1104:22) at String.startsWith (http://localhost:59929/Scripts/Mdb-js/mdb.min.js:33:191994) at new DomEvent (http://localhost:59929/ScriptResource.axd?d=1EygOrTZzgIcSQu2BRwUtiYY660zxHkEXrnvP8dOiIE9zWTKTEPZSe0GmulwnpOcTc9mK7q8_4jLkf9F9D8WoeOQVTmcjxhEv_333SfMmwcLW5IC0YDnshXcIIPn7w3YSy1GAw2&t=ffffffffda74082d:4815:16) at HTMLFormElement.browserHandler (http://localhost:59929/ScriptResource.axd?d=1EygOrTZzgIcSQu2BRwUtiYY660zxHkEXrnvP8dOiIE9zWTKTEPZSe0GmulwnpOcTc9mK7q8_4jLkf9F9D8WoeOQVTmcjxhEv_333SfMmwcLW5IC0YDnshXcIIPn7w3YSy1GAw2&t=ffffffffda74082d:4886:46)


Please insert min. 20 characters.
Status

Open

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB 5
  • MDB Version: 3.0.0
  • Device: PC
  • Browser: Google Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes