Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to refer to
Message
From
24/11/2004 21:27:19
 
 
To
24/11/2004 14:03:05
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00962720
Message ID:
00964567
Views:
8
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*
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform