So I'm pretty new to non-mvc web development, and I'm having an issue with iFrames.In my main page, I have a checkbox which shows and hides an iframe via jQuery. In my iFrame's codebehind, I have a method \[code\]loadStuff()\[/code\] which I only want to run if the iFrame is visible. That is, I don't want to just stick it in \[code\]page_load\[/code\] because if I do, it's going to try and run every time the main page gets refreshed.So I was thinking I'd just do a check to see if the checkbox in the main window is checked and if so, run the \[code\]loadStuff()\[/code\] method.The problem is, I can't figure out how to access that checkbox from the iFrame's codebehind. It seems like some variant of \[code\]this.Parent.FindControls()\[/code\] would work, but I haven't had any luck with that.Here's a little bit of what I have:Main page (lets call it mainpage.aspx):\[code\]<input type="checkbox" id="showIFrame" onclick="if(this.Clicked) $('#iframe').show(); else $('#iframe').hide();" />//...<div id="iframe" style="display:none;"><iframe runat="server" id="iframeNetSheet" .../></iframe></div>\[/code\]So when that checkbox gets clicked, the iFrame gets shown. That's when I want to invoke the loading function. As of now, it's in the iFrame's page_load, which gets hit every time the parent page is loaded.Can anyone get me pointed in the right direction?