CGridView pagination

Hi,

I created a widget that has a gridview.

But something is wrong with this widget: when i include the widget in model (used in gridview) view, all works fine. But if i include the widget in site/index view, all gridview behaviors will refresh the page.

Anybody knows why this happens?

If so, how i solve this problem?