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
1250
Problem with UpdatePanel
posted

Hello,

I've put WebHierarchicalDataGrid inside UpdatePanel, and faced with the following problem:

1. First time page's successfully loaded and all works fine

2. After very first postback I get javascript null-reference exception:

$find(gridId).get_gridView().get_behaviors().get_selection() returns null, but without UpdatePanel all works fine.

Property EnableAjax for the grid is off, because it causes other problems.

 

Please help.

 

Alexander

  • 1250
    Suggested Answer
    posted

    Hi,

    I've figured out the problem. It was my mistake, I cashed grid object on the client side, it caused the problem after async. postback.

    Sorry for inconvenience.

     

    Alexander