Splitter collapse click event bubbling

2 posts, 0 answers
  1. Jeanne
    Jeanne avatar
    58 posts
    Member since:
    Sep 2011

    Posted 22 Aug 2013 Link to this post

    I have a radSplitter dividing my page into two areas. Sometimes when I click on the splitter button to collapse the left pane it appears that the click event is allowed to bubble to the content in the right pane. The right pane contains a content placeholder which contains a iframed page. That page has a table that responds to click events, and it is responding to the bubbled click event, causing unexpected results.

    Is there a way I can prevent the click event on the splitter collapse button from bubbling?
  2. Jeanne
    Jeanne avatar
    58 posts
    Member since:
    Sep 2011

    Posted 23 Aug 2013 Link to this post

    I was finally able to reproduce the problem in a simpler page, and track down the cause. The framed page is from a very old web site. In order to try to get maximum compatibility, I was setting the document mode of the master page to IE7 standards:

    Response.AddHeader("X-UA-Compatible", "IE=7")


    In this state, it appears the mouse button up event is sent to the framed page (because once the left pane is collapsed, the mouse cursor is now over the framed page), and the framed page seems to interpret that as a mouse click event and responds to it.

    When I took out the above AddHeader statement, the problem disappeared.

    Hopefully leaving the document mode at IE9 standards instead won't cause any rendering problems in the framed page and I can consider this problem solved.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top