[CLOSED] Panel Load Method Problem

  1. #1

    [CLOSED] Panel Load Method Problem

    Hi,
    I have a panel in which I load a webpage. The web page requires to be loaded via POST method. In autoload config I specify method as "POST". Despite this when I check in Fiddler or Firebug, all the request are being sent as GET, with params getting attached to URL. Try the following :

    <ext:Panel runat="server" ID="pnl" Width="1000" Height="800">
                <AutoLoad Mode="IFrame" Url="http://www.rediff.com"  Method="POST">
                    <Params>
                        <ext:Parameter Name="test" Value="test"></ext:Parameter>
                    </Params>
                </AutoLoad>
            </ext:Panel>
    I manually load a URL on button click, but still same result. Please lemme know if m missing something.

    Thanks,
    Last edited by Daniil; Nov 16, 2010 at 12:43 PM. Reason: Please use [CODE] tags, [CLOSED]
  2. #2
    Hi,

    It is impossible. Mode="IFrame" creates iframe element and set url to the 'src' attribute. Browser requests the page using GET method only.
  3. #3
    Yes I found tht.

    But then whats the point of having a property with Method in autoload? You might as well remove it?
  4. #4
    Hi,

    Method property can be used with Mode="Merge"
  5. #5
    Ok... Thanks!
  6. #6
    Hi amitpareek,

    Please use [CODE ] tags, see
    http://forums.ext.net/showthread.php...ing-New-Topics
    Last edited by geoffrey.mcgill; Feb 20, 2011 at 12:12 PM.

Similar Threads

  1. Problem with Panel Load From JavaScript
    By osef in forum 2.x Help
    Replies: 0
    Last Post: Jun 02, 2012, 6:09 AM
  2. Replies: 2
    Last Post: Apr 02, 2012, 8:03 PM
  3. [CLOSED] HttpProxy sample with Method='GET' to load data for store
    By inayath in forum 1.x Legacy Premium Help
    Replies: 10
    Last Post: Feb 08, 2011, 2:18 PM
  4. [CLOSED] HttpProxy sample with Method='GET' to load data for store
    By inayath in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 07, 2011, 11:55 AM
  5. how to load data to grid panel in page load
    By andylaiyongsing in forum 1.x Help
    Replies: 1
    Last Post: Apr 16, 2010, 10:27 AM

Posting Permissions