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
100
How to remove igGrid from a webpage?
posted

Hello

In the current page where I have the igGrid working there is a "Clear" button. When the user clicks this button the isGrid should dissapear and the HTML should return to the state it was before (".my-slector").igGrid({}) was called.

I tried using (".my-slector").igGrid("destroy"), but I get the following error:

"Sys.ParameterCountException: Sys.ParameterCountException: Parameter count mismatch.".

Is there another way of doing this?

Parents
No Data
Reply
  • 100
    Offline posted

    I found the solution. The problem is a conflict with ScriptManager. This was used on my base page. I just put this code on the Page_Init and the problem was solved:

    ScriptManager.AjaxFrameworkMode = AjaxFrameworkMode.Disabled;

Children