[CLOSED] Store server paging and PageProxy RequestConfig

  1. #1

    [CLOSED] Store server paging and PageProxy RequestConfig


    I found followign problem

    let's say I have example


    and here I specify

                            <ext:PageProxy >
                                <RequestConfig Url="TestPage4.aspx">
    As soon as I do that , the EVENTARGUMENT and __EVENTTARGET is not sent anymore to the server, which results in not working direct event

    Is this by desing? or is there any chance to send all the request form variables to the server?

    Last edited by Daniil; May 05, 2015 at 3:41 PM. Reason: [CLOSED]
  2. #2
    Hi @Zdenek,

    I think a PageProxy doesn't support a RequestConfig's Url.

    A PageProxy uses a Store's OnReadData event which is a DirectEvent. As far as I can understand any OnReadData implementation would require an operation with the Store control (assigning data to the .DataSource property or a .DataBind() call in some scenarios). There is no the Store control in another page, so, this scenario is not going to work.
  3. #3
    well - will not work... imagine two identical pages ( the only difference between them is EnableSessionState attribute, as discussed in

    So then - whole the hierarchy is present, store is there, but as long as whole request.Form variables are not sent it cannot work

    In fact , you dont need two pages, only one is enough - just explicitly specify RequestConfig Url - and form variables are not send

  4. #4
    Probably variation of the same problem

    				<ext:PageProxy DirectFn="Ext.net.DirectMethods.Application_GetOwnerTR" >
    					<RequestConfig Url="~/WindowsApp/asyncDirectMethods.aspx"/>
    						<ext:JsonReader TotalProperty="Total" RootProperty="Source"/>
    As long as I do that _methodName_ is not sent to the server

    Is there any way how to use direct metthod from another page in order to load a store?

    Note that purpose of whole excercise is as follows:
    I have two grids on aspx page, each take 10-20 seconds to load and both should be loaded in the same time, additionally both should support server paging and sorting
    I'm searching for a way how to load them together ( and I cannot mark whole page as RequireSessionState="Readonly" as there are other methods on page that require session variable access)
    Last edited by Zdenek; Apr 24, 2015 at 9:41 PM.
  5. #5
    Quick question - what about an AjaxProxy referring to an .asxh?
  6. #6
    In fact that's how I solved my problems, as it was relativelly urgent
    but it is by desing that with page proxy it does not work?

  7. #7
    Well, I would not say it is by design that it is not working, but initially there was no intention to get it working. A PageProxy's destination is to make requests to the same page.

Similar Threads

  1. Replies: 2
    Last Post: Jun 06, 2012, 8:27 PM
  2. TabPanel and Store with PageProxy?
    By dmoore in forum 1.x Help
    Replies: 4
    Last Post: Aug 25, 2011, 3:40 PM
  3. GridPanel Paging with PageProxy
    By jigpatel06 in forum 1.x Help
    Replies: 3
    Last Post: Mar 11, 2011, 10:33 AM
  4. Replies: 2
    Last Post: Apr 20, 2010, 1:50 PM
  5. [CLOSED] [1.0] Store and paging server side
    By PoloTheMonk in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 02, 2010, 12:38 PM

Posting Permissions