Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. iframe generation problem

iframe generation problem

Scheduled Pinned Locked Moved ASP.NET
helphtmlhardwarequestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    marky777
    wrote on last edited by
    #1

    Hi all. I am struggling with for the last 2 days, tried everything after googling a solution. I build up an ad in an iframe via code and render it on an ascx page like so:

    if (showAd)
            writer.Write("",this.AdFrameWidth, this.AdFrameHeight, this.AdFrameURL);
    

    The iframe is embedded within an html table cell. It seems to work now and then on firefox and never in IE 7. Is there something I am missing to make this frame show everytime the page loads? Any help is greatly appreciated. M

    K 1 Reply Last reply
    0
    • M marky777

      Hi all. I am struggling with for the last 2 days, tried everything after googling a solution. I build up an ad in an iframe via code and render it on an ascx page like so:

      if (showAd)
              writer.Write("",this.AdFrameWidth, this.AdFrameHeight, this.AdFrameURL);
      

      The iframe is embedded within an html table cell. It seems to work now and then on firefox and never in IE 7. Is there something I am missing to make this frame show everytime the page loads? Any help is greatly appreciated. M

      K Offline
      K Offline
      Krazy Programmer
      wrote on last edited by
      #2

      not sure but drop a iframe control on the page and look at the syntax .. generally to my knowledge because of improper syntax this happends

      If You win You need not Explain............ But If You Loose You Should not be there to Explain......

      M 1 Reply Last reply
      0
      • K Krazy Programmer

        not sure but drop a iframe control on the page and look at the syntax .. generally to my knowledge because of improper syntax this happends

        If You win You need not Explain............ But If You Loose You Should not be there to Explain......

        M Offline
        M Offline
        marky777
        wrote on last edited by
        #3

        Thanks man, tried... Didn't work though. Any other ideas?

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups