Alex Rivera | Logout

How to postback aspx page in iframe?

Asked 2011-04-30T20:45:17.137
9

I have an iframe in my main aspx page and this iframe has also a aspx page. iframe's page has some controls and main aspx page has a submit button on it. Now I want to postback iframe's page on submit button's click event using javascript. So that main page remain static and iframe's page goes for a postback
UPDATE
Thanks @Kevin Babcock and @Bala R
Suppose if I need to perform a button (which is in iframe) click event through main page

Edit
Report

1 Answer

4

From javascript you can try something like

document.frames["iframeid"].document.forms[0].submit();
answered 2011-04-30T21:36:29.943

Your Answer