Save contents of iframe from parent's save button

  • Thread starter Thread starter user
  • Start date Start date
U

user

I have a parent aspx page with a few iframes. Each of the iframes show
an aspx page with a datagrid whose rows all show editable entry fields
at all times. The user can enter values into the parent page's form and
into the iframes' datagrids and then press a save button on the parent
page.

My question is: from the parent's Save_Click event in the code-behind,
how do I call the SaveGrid procedures I've written on each of the
iframe pages in order to save each grid to the dataset when the parent
page is saved? Is this possible?
 
in client code, you need to do a form submit for each iframe you want to
save data from. you need to get the child posts done before the parent
actuall posts, as a parent postback will cancel the iframe postbacks. you
can capture the iframe onload events, and when all have reloaded, do the
parent postback.

-- bruce (sqlwork.com)
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top