I've been through this in the past with IFrames. The problem is that frames
are a concept of the web browser and not the ASP.NET runtime. Therefore, as
it appears, the ASP.NET engine is only dealing with the current page it is
rendering and possible the previous if you did a "server.transfer". But if
there are multple frames, then the ASP.NET engine knows nothing of the other
frames and so it isn't currently possible. The other thing is that it can't
know anyway unless all the frames are submitted. Because if Frame A submits
and Frame B does not, then in the code-behind, there is no way for the
ASP.NET engine to know what the Request object variables should be for Frame
B since it could have changed from the previous output.
To work around this, I use JavaScript and pull in the variables as needed
into hidden fields to be submitted with the page in the IFrame.
Thanks,
Shawn
"Mike Grainger" <mi***********@videotron.ca> wrote in message
news:qF********************@weber.videotron.net...
Good Day:
I am attempting to reference the value in a dropdownlist in the
contents frame from the main frame and use it for filtering od a dataview. I get
object is null.
Any help on referencing an object in another frame would be greatly
appteciated.
Mike