Re: Post to another page (MasterPage, In JavaScript)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?UTF-8?B?R8O2cmFuIEFuZGVyc3Nvbg==?=

    Re: Post to another page (MasterPage, In JavaScript)

    bruce barker wrote:
    Webforms don't really support this model.
    It doesn't have to, as html does. The OP is using a regular htlm form,
    not a ASP.NET server control form.

    --
    Göran Andersson
    _____
    Göran Anderssons privata hemsida.

  • Cat

    #2
    Re: Post to another page (MasterPage, In JavaScript)

    On Jun 29, 8:00 am, Göran Andersson <gu...@guffa.co mwrote:
    bruce barker wrote:
    Webforms don't really support this model.
    >
    It doesn't have to, as html does. The OP is using a regular htlm form,
    not a ASP.NET server control form.
    >
    --
    Göran Andersson
    _____http://www.guffa.com
    This is a big problem then. The containtarea should be surrounded by a
    form (or an exception is thrown), and forms cannot be nested. For
    example, if I want to insert a PayPal button which uses a form posted
    to the PayPal server, PayPay said that all In eed to do is to copy and
    paste the code, but pasting that into a contentarea doesn't work
    because two forms get nested. ASP.NET's form is always confusing and
    make things complicated...

    As a workaround I inserted an iframe, which is a simple .html file,
    into the contentarea, then pasted the PayPal code into the .html file,
    set target="_top" for the form. It worked anyway.

    Comment

    • =?ISO-8859-1?Q?G=F6ran_Andersson?=

      #3
      Re: Post to another page (MasterPage, In JavaScript)

      Cat wrote:
      On Jun 29, 8:00 am, Göran Andersson <gu...@guffa.co mwrote:
      >bruce barker wrote:
      >>Webforms don't really support this model.
      >It doesn't have to, as html does. The OP is using a regular htlm form,
      >not a ASP.NET server control form.
      >>
      >--
      >Göran Andersson
      >_____http://www.guffa.com
      >
      This is a big problem then. The containtarea should be surrounded by a
      form (or an exception is thrown),
      Which exception? I'm pretty sure that a content area doesn't have to be
      inside a server form...
      and forms cannot be nested. For
      example, if I want to insert a PayPal button which uses a form posted
      to the PayPal server, PayPay said that all In eed to do is to copy and
      paste the code, but pasting that into a contentarea doesn't work
      because two forms get nested. ASP.NET's form is always confusing and
      make things complicated...
      >
      As a workaround I inserted an iframe, which is a simple .html file,
      into the contentarea, then pasted the PayPal code into the .html file,
      set target="_top" for the form. It worked anyway.
      --
      Göran Andersson
      _____
      Göran Anderssons privata hemsida.

      Comment

      • Cat

        #4
        Re: Post to another page (MasterPage, In JavaScript)

        On Jul 21, 3:52 am, Göran Andersson <gu...@guffa.co mwrote:
        Cat wrote:
        On Jun 29, 8:00 am, Göran Andersson <gu...@guffa.co mwrote:
        bruce barker wrote:
        >Webforms don't really support this model.
        It doesn't have to, as html does. The OP is using a regular htlm form,
        not a ASP.NET server control form.
        >
        --
        Göran Andersson
        _____http://www.guffa.com
        >
        This is a big problem then. The containtarea should be surrounded by a
        form (or an exception is thrown),
        >
        Which exception? I'm pretty sure that a content area doesn't have to be
        inside a server form...
        >
        and forms cannot be nested. For
        example, if I want to insert a PayPal button which uses a form posted
        to the PayPal server, PayPay said that all In eed to do is to copy and
        paste the code, but pasting that into a contentarea doesn't work
        because two forms get nested. ASP.NET's form is always confusing and
        make things complicated...
        >
        As a workaround I inserted an iframe, which is a simple .html file,
        into the contentarea, then pasted the PayPal code into the .html file,
        set target="_top" for the form. It worked anyway.
        >
        --
        Göran Andersson
        _____http://www.guffa.com
        Ah. I was confused. I tested again and found that it was because the
        content page contained ASP.NET controls. When I created master/content
        pages within a WYSIWYG tool, it added a server form at the master
        page, and none for the content pages.
        Thank you for pointing out.

        Comment

        Working...