[CLOSED] First load of store with proxy configuration

  1. #1

    [CLOSED] First load of store with proxy configuration

    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:
    Click image for larger version. 

Name:	capture_pagingtoolbar.png 
Views:	20 
Size:	3.7 KB 
ID:	6237

    Thanks,
    ViDom
    Last edited by Daniil; May 20, 2013 at 9:14 AM. Reason: [CLOSED]
  2. #2
    Hi @ViDom,

    It is hard to say something concrete. Please provide a test case.
  3. #3
    Quote Originally Posted by Daniil View Post
    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:)

Similar Threads

  1. [CLOSED] disable the loading mask on ajax proxy store load
    By RCM in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Jan 13, 2015, 4:54 PM
  2. Replies: 3
    Last Post: May 06, 2013, 11:52 AM
  3. [CLOSED] Combobox with a store proxy load on expand
    By ViDom in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Nov 16, 2012, 4:45 PM
  4. [CLOSED] Load data to store of combobox by proxy
    By ViDom in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Oct 08, 2012, 8:29 AM
  5. Replies: 13
    Last Post: Sep 07, 2012, 6:23 PM

Tags for this Thread

Posting Permissions