Hiding a parent Iframe from asp.net

  • Thread starter Thread starter phl
  • Start date Start date
P

phl

Hello

I have an asp.net page which is within an asp iframe. Sometimes
there's nothing to show in asp.net page, so I need to do something to
hide the iframe in the asp page, so I don't show a blank iframe.

Does anyone know how the javascript and
ClientScript.RegisterStartupScript to do this?

Thanks
-phl
 
You could put it like this:


If (something = something to show)

Response.Write ("<iframe with asp.net page syntax> ")

That's a trick I've used a few times.

Let me know if that solves it.

phil
 
Back
Top