Trigger PostBack from External webpage?

Discussion in 'ASP .Net' started by Lars Netzel, Sep 27, 2005.

  1. Lars Netzel

    Lars Netzel Guest

    I open a popup from an aspx page and when done working in the popup i I need
    to update the aspx page in the background. I know how to get to the page in
    the background thru JavaScript (window.opener.. ) but how do I trigger a
    postback that will keep the viewstate of that page?

    best regards/
    Lars Netzel
    Lars Netzel, Sep 27, 2005
    #1
    1. Advertising

  2. Lars,

    You need to call the submit method of the form in your page. Try

    window.opener.myForm.submit();

    Eliyahu

    "Lars Netzel" <> wrote in message
    news:%...
    > I open a popup from an aspx page and when done working in the popup i I

    need
    > to update the aspx page in the background. I know how to get to the page

    in
    > the background thru JavaScript (window.opener.. ) but how do I trigger a
    > postback that will keep the viewstate of that page?
    >
    > best regards/
    > Lars Netzel
    >
    >
    Eliyahu Goldin, Sep 27, 2005
    #2
    1. Advertising

  3. Lars Netzel

    Lars Netzel Guest

    thank you that worked nice.

    /Lars
    "Eliyahu Goldin" <> wrote in message
    news:...
    > Lars,
    >
    > You need to call the submit method of the form in your page. Try
    >
    > window.opener.myForm.submit();
    >
    > Eliyahu
    >
    > "Lars Netzel" <> wrote in message
    > news:%...
    >> I open a popup from an aspx page and when done working in the popup i I

    > need
    >> to update the aspx page in the background. I know how to get to the page

    > in
    >> the background thru JavaScript (window.opener.. ) but how do I trigger a
    >> postback that will keep the viewstate of that page?
    >>
    >> best regards/
    >> Lars Netzel
    >>
    >>

    >
    >
    Lars Netzel, Sep 28, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. NWx
    Replies:
    4
    Views:
    66,455
    Teemu Keiski
    Feb 16, 2004
  2. darrel
    Replies:
    3
    Views:
    686
    Scott Allen
    Aug 11, 2004
  3. Terence McGhee

    Manually trigger postback in asp.net

    Terence McGhee, Aug 19, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    555
    =?Utf-8?B?Y2hyaXNjb2xsaW5zb24=?=
    Aug 19, 2004
  4. Terence McGhee

    Manually trigger postback in asp.net

    Terence McGhee, Aug 19, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    8,611
    =?Utf-8?B?Y2hyaXNjb2xsaW5zb24=?=
    Aug 19, 2004
  5. Steve C. Orr [MVP, MCSD]

    Re: Trigger a Postback

    Steve C. Orr [MVP, MCSD], Aug 27, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    622
    =?Utf-8?B?TWlrZSBEb25uZWxseQ==?=
    Aug 29, 2004
Loading...

Share This Page