[CLOSED] Partial View & FormPanel Submit

  1. #1

    [CLOSED] Partial View & FormPanel Submit

    When using a partialView that is injected into my page, is it valid to have a formpanel on the partial page which submits via the xxx.getForm().submit()? Or would this type of behaviour only work on ASPX pages?
    Last edited by Daniil; Dec 14, 2011 at 12:07 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Each FormPanel creates internally a separate BasicForm instance.

    And the BasicForm's submit method submits only its data.

    So, I think, you can use a FormPanel in a partial view and then submit its data.

    See also
    http://docs.sencha.com/ext-js/3-4/#!...form.FormPanel
    http://docs.sencha.com/ext-js/3-4/#!...form.BasicForm
    http://docs.sencha.com/ext-js/3-4/#!...-method-submit
  3. #3
    Thank you, I got it working no problems.

Similar Threads

  1. [CLOSED] Loading Partial View under a formpanel
    By Daly_AF in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Jul 25, 2012, 2:26 PM
  2. [CLOSED] Loading panel with MVC partial view
    By bbo1971 in forum 2.x Legacy Premium Help
    Replies: 26
    Last Post: Jul 25, 2012, 1:04 AM
  3. [CLOSED] Problem rendering partial view
    By T3rryChan in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Jul 03, 2012, 9:22 PM
  4. [CLOSED] Partial View Error
    By peter.campbell in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 10, 2012, 10:32 AM
  5. [CLOSED] RegisterOnReadyScript in MVC partial view
    By SandorD in forum 1.x Legacy Premium Help
    Replies: 22
    Last Post: Aug 10, 2011, 4:17 PM

Tags for this Thread

Posting Permissions