Datagridview problem VB NET

I have a problem with my datagridview.
And the following happens I have several buttons to load the datagridview.
All these buttons are working correct So datagridview is loading as expected.
Only when i press the right or the left arrow butoon and when then datagridview wil be selected with the arrow buttons then the datagridview will be cleared so all datarows in datagridview are gone.
How can i disable the arrow buttons when datagridview not is focused ?