[CLOSED] 'Dynamic' url for an AJAX proxy

  1. #1

    [CLOSED] 'Dynamic' url for an AJAX proxy

    I have a tree store such as

    <ext:TreeStore ID="storeTree" runat="server">
        <ext:Model runat="server">
            <ext:ModelField Name="AdditionalField" Type="String" />
        <ext:AjaxProxy Url="~/BlankTree.ashx" />
    and I'd like to be able to update the url of the AjaxProxy from code behind both from page initialisation and during direct methods/events.

    Is this possible?
    Last edited by Daniil; Jul 21, 2012 at 8:39 PM. Reason: [CLOSED]
  2. #2

    Initial page loading:
    (store.Proxy[0] as AjaxProxy).Url = "new URL";
    store.Set("proxy.url", "new URL");
  3. #3
    Thanks Daniil, that works great.
  4. #4
    Quote Originally Posted by Daniil View Post
    store.Set("proxy.url", "new URL");
    We have added the SetProxyUrl method.
    It will be available in SVN soon.

Similar Threads

  1. What exactly is Page Proxy?
    By chearner in forum 1.x Help
    Replies: 5
    Last Post: Jan 09, 2012, 9:52 PM
  2. Proxy with Nested Url
    By Dominik in forum 1.x Help
    Replies: 3
    Last Post: Jun 10, 2010, 6:53 AM
  3. [CLOSED] hiding/displaying dynamic panel on ajax postback
    By Hari_CSC in forum 1.x Legacy Premium Help
    Replies: 12
    Last Post: May 14, 2010, 10:06 AM
  4. Replies: 9
    Last Post: May 10, 2010, 5:56 AM
  5. [CLOSED] Dynamic panel construction on ajax event
    By Lex in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 16, 2008, 7:08 AM

Tags for this Thread

Posting Permissions