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
995
How to prevent the grid to databind?
posted

Hello,

I have two webgrid, depending on a checkbox, one is visible and the other one is not visible.
However, the event DataBinding is hit for both grid all the time which is not good for the performance.

When I debug my code I can see that it always go first to the databinding event and then to the "Checkchanged" event of my checkbox where I set the visibility of each grid to true or false.

How can I prevent  a grid from databinding?
Thanks