Trigger PostBack from External webpage?

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?

Advertisements

"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
>
>

Advertisements

/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
>>
>>
>
>

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!