Hiding a parent Iframe from asp.net

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
 
B

big phil

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top