PDA

View Full Version : [CLOSED] gridPanel.Reload error



supera
Jan 20, 2012, 5:58 PM
Hi

I has a button called btnFiltrar in my aspx page... when button click event, the procedure btnFiltrar_Click is called (with DirectEvents)...
In this procedure, I try refresh the data in my gridPanel call function grdSugestoes.Reload()... but, the follow error occurs...

3746

In messagebox of picture is written: run time error in Microsoft JScript: Can not get the value of 'load' property: the object is null or not defined.

and this code
{disableCaching:disableCaching} return undefined.

Daniil
Jan 20, 2012, 8:13 PM
Hi,

This function is not implemented yet.

Please try:

GridPanel1.Call("store.reload");

supera
Jan 23, 2012, 10:48 AM
Daniil, works... thank you...

I got other problem, but I will create a new thread...

Thanks a lot

Daniil
Jan 30, 2012, 2:25 PM
Hi,

We have added the server side Reload method for the AbstractStore class.

To reload a Store from server side the following will be possible in DP2:

Store1.Reload();