[CLOSED] StoreParameter, Store.Parameters, Store.Proxy.ExtraParams

  1. #1

    [CLOSED] StoreParameter, Store.Parameters, Store.Proxy.ExtraParams

    Hi,

    This might sound like naive question, but what is the difference in putting StoreParameter in Store.Parameters and Store.Proxy.ExtraParams:

    In 2.5.3 I had my StoreParameters located under Store.Parameters like that:

    <ext:Store
        runat="server"
        RemoteSort="true"
        PageSize="50"
        AutoLoad="false"
        ShowWarningOnFailure="false">
        <Parameters>
            <ext:StoreParameter
                Name="p1"
                Value="value"
                Mode="Raw" />
        </Parameters>
    </ext:Store>
    I read about changes in ExtJS 5 and about setParams method. How does this apply to Ext.Net ?

    I have experienced few odd problems. E.g. in my TreePanel I had to move my parameters to ExtraParams otherwise they were not sent to the handler. (I had AutoLoad="false"


    Now I am experiencing opposite with GridPanel ... in ExtraParams the parameters are not sent but in Store.Parameters they are ... sometimes. I trigger store load from java script.

    I will try to create simple example soon, but If you know what is it about please let me know.

    Thank you
    Last edited by Daniil; Feb 05, 2015 at 2:47 PM. Reason: [CLOSED]
  2. #2
    I just happened to notice this thread - I had a similar question a little while back and Daniil provided some useful answers:

    http://forums.ext.net/showthread.php?49421

    Hope that helps?
  3. #3
    Hi, thank you. I saw your thread too.

    Wanted confirm what do we use now. I saw configitem used in your example. Haven't tried that yet.
  4. #4

    setExtraParams

    ... decided to remove all StoreParameters from my markups and use setExtraParams only.


    pnlFolders.store.proxy.setExtraParams({
    	projectId: me.projectId,
    	windowId: me.windowId,
    });
    More flexible... :)

    If anyone is aware how changes in extjs 5 affect Ext.Net markup, please continue the thread.

    Thanks you.
  5. #5
    Hi Matt,

    I've re-read the thread and am not sure - can we close this thread and move on or would you expect some feedback from us?
  6. #6
    Close please

Similar Threads

  1. [CLOSED] MVC - GridPanel - Store with ExtraParams - ajax reload
    By thchuong in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Aug 26, 2015, 1:46 PM
  2. Replies: 3
    Last Post: May 06, 2013, 11:52 AM
  3. store proxy help
    By John_Writers in forum 2.x Help
    Replies: 1
    Last Post: Apr 19, 2013, 3:11 PM
  4. Replies: 9
    Last Post: Oct 16, 2012, 12:05 AM
  5. [CLOSED] [1.0] Passing ExtraParams on Store OnRefreshData
    By state in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 01, 2010, 3:02 AM

Tags for this Thread

Posting Permissions