PDA

View Full Version : [CLOSED] First load of store with proxy configuration



ViDom
May 17, 2013, 1:11 PM
Hi,

I've a problem with load store for first time. I've configure pagesize to 50 and get this load but it load Page 0( even when I say directly loadPage(1))

In handler I read this start parameter like this:


StoreRequestParameters prms = new StoreRequestParameters(context);
var start = prms.Start; //it's always equal -50 or 0
var pageIndex = prms.Page;//it's 0 in first load should be 1


picture show what I see:
6237

Thanks,
ViDom

Daniil
May 17, 2013, 1:13 PM
Hi @ViDom,

It is hard to say something concrete. Please provide a test case.

ViDom
May 20, 2013, 10:10 AM
Hi @ViDom,

It is hard to say something concrete. Please provide a test case.

I was able to figure it out.
I've made mistake in directmethod of button where write this:


store.LoadPage(0);//change 0 to 1 fix the issue


sorry for bother.

Thread can be closed:)