CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: Date Entered: 9/5/2007 12:47:19 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 5 Views: 164 Favorited: 0 Favorite
6 Items, 1 Pages 1 |< << Go >> >|
"daverooke" <>
NewsGroup User
Submit form in Iframe within Master Page...9/5/2007 12:47:19 PM

0

View a printable version of this message! I have a master page PageA.aspx that contains an iframe which contains pageB.aspx which is also derived from a master page.

i am trying to get it to submit pageB.aspx page within the iframe with javascript when on the "onclientclick" of the save button on PageA.aspx, but i cannot get to "form1" on pageB.aspx because it is inheriting from its master and does not have any forms directly on it.

any ideas on how i would go about this?

thanks in advance....

"Johnson2007" <
NewsGroup User
Re: Submit form in Iframe within Master Page...9/6/2007 6:57:51 AM

0

daverooke:
but i cannot get to "form1" on pageB.aspx because it is inheriting from its master and does not have any forms directly on it.
 

What's your masterpage means here? Is it a aspx page with a iframe html control? or is it a asp.net standard master page?


Johnson
"daverooke" <>
NewsGroup User
Re: Submit form in Iframe within Master Page...9/6/2007 12:42:47 PM

0

its an aspx page that has a master page. it then has an iframe with another aspx page that also uses a master - if that makes sense?

"Johnson2007" <
NewsGroup User
Re: Submit form in Iframe within Master Page...9/7/2007 6:44:18 AM

0

Thanks! What do you want to wirte in the "OnClientClick" event of the save button? Thanks!


Johnson
"daverooke" <>
NewsGroup User
Re: Submit form in Iframe within Master Page...9/10/2007 7:51:10 AM

0

what i am trying to run on the onclientclick is along the lines of the following. 

document.getElementById('" & iframe.ClientID & "').parent.form.submit;return false

which is trying to call the submit of the iframes parent which is a master page....

 

"Johnson2007" <
NewsGroup User
Re: Submit form in Iframe within Master Page...9/10/2007 9:46:05 AM

0

 Try to use the following example code

OnClientClick='document.frames["iframe1"].document.forms[0].submit(); return false;'

You can get the reference to the form id of page B, whose form seems is placed in the its masterpage. But the <form> tag contains runat="server". When it contains runat="server" then if you add the action="XXX.aspx" will not work at run time. In a short, you should find the form's action attribute is the current page at runtime( looking at source file from client).
 


Johnson
6 Items, 1 Pages 1 |< << Go >> >|


Free Download:













xpath: set 'remove-all-values'

edir2edir: structured attribute problem

idm 3.61 rl on a win2k server

engine upgrade 3.6 to 3.6.1

pw sync ad <-->edir. how?

jdbc connection to firebird database - unable to process

notes driver bug or feature?

updated ecma article...

oracle's e-business suite set password from idm?

multivalued gcv in xslt

how to get rid of attribute "dirxml-passwordsyncstatus"?

imanager identity driver tab on user - illegal operation

nspmdistribution password change

event failed error - groupwise

null driver and manual task driver not mixing!?

idm 3.5.1 and exchange 2007 accounts

sap jco3 shim fanout capabilities doc?

another ad driver config subtle issue

how to stop backlog changes sync between identity vault &ad

stylesheet issue

idm with ms sharepoint

xpath question

searching multi-valued attributes

events skipping event transform policies

help: action skipping output transform

xslt help with structured attribute search

migrating users from edir to ad, attribute gets reset

what is the user ddl stylesheet in the jdbc driver 3.5/6 ?

jdbc: change the insert statement

lets talk about: direct, before, after, and current when add/set dest/src attrs

our idm logs are eating up the space on sys volume

problem when creating entitlement policy

com.novell.admin.common.exception.uniquespiexcepti on -714

da modifier tool

operation attribute issues

sap hr driver- strips off email address from saphr

problem with remedy driver

how to distinguish between "modify" and "add" operation

adam and windows 2008

edir2edir: remove association from source object

need edir to ad cn change help

how to remove associations when hundred thousand users?

driver object password will not save

field names in output file - text driver

event viewer password sync entry behavior

idm user move question

get date and format mm/dd/yyy - pre idm 3.5

question about a windows 2003 installation

move doesn't update association object

message: getdckey() domain controller is not in list

   
  Privacy | Contact Us
All Times Are GMT