Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to refer to
Message
De
24/11/2004 21:27:19
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
24/11/2004 14:03:05
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00962720
Message ID:
00964567
Vues:
7
Hi, Bob-

>>>I can refer to
parent.document.frames["foobar"]
in my javascript, of course. Can I, and if so, how can I, get a reference to the same object hierarchy in my C# code-behind? TIA.
>>
>>Just for any interested lurkers, I added a hidden variable to the parent document and then could refer to that in my javascript. Something like:
>>
>>parent.document.frames["foobar"].window.document, "HiddenVar").value
>
>I doubt you can. Frames are a client side construct. No frames exist on your page right?

I'm not sure if you mean I can't refer to the parent doc in code behind like I can from javascript. But, that's the conclusion I'd come to. I think the only reason I tried was because of my atrocious understanding of web architecture *s*. The hidden variable worked fine.

Yes, I do have frames the page. But, please don't tell anyone. I _am_ truly ashamed of it, and I promise I'll never do it again. *vbg*
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform