www.webdeveloper.com
Results 1 to 3 of 3

Thread: Iframe breakng ajax accordian control

Hybrid View

  1. #1
    Join Date
    Aug 2009
    Posts
    23

    Iframe breakng ajax accordian control

    this is a strange situation that is driving me insane.
    Here is my setup

    Ive got an accordian control for menu in a ascx file on the left of the page.
    in in the middle I have another ascx control that has the default home page.
    Below that I have a hidden Iframe.

    When an link in the menu is click javascript code runs to hide the menu ascx control and to show the Iframe.

    That's how it should work atleast.
    What is happening is when a header in the menu is clicked to expand it just refreshes the page without expanding.
    However, if I put runat='server' in the Iframe the menu it works but in the initial page load the home page ascx control flashes and then disappears. If you resize the browser window it refreshes and flashes again.

    Any ideas?



    Thanks in advance

  2. #2
    Join Date
    Aug 2009
    Posts
    23
    Turns out that this was not what was breaking it.
    I have a div that when overflow is set to auto it hides itself when the page is loaded, if you resize the browser window it reappears.
    positioning on this div is absolute with the top,bottom, left and right set to a value so it should never be hidden.

    any ideas?

  3. #3
    Join Date
    Oct 2009
    Posts
    658
    Which accordion mechanism you used? Also you got a link for us to look at? Most likely the issue you're encountering is CSS and not .NET.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles