Force to lose focus

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kubatko
    New Member
    • Nov 2009
    • 6

    Force to lose focus

    Hello,

    is there any way how to force application to lose focus in any other possible controls where the focus could be?

    We are developing an application where there is silverlight and asp.net combined. When a dialoguebox in silverlight is displayed where user can write a value but when the user clicks outside of this dialoguebox to a textbox that is in asp.net it creates two focuses.

    Is there any way how to force an app to lose any other focues?

    Jakub
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    I know that you can use JavaScript to set/change the focus...
    I'm not sure how this would work with Silverlight though.

    Comment

    • Kubatko
      New Member
      • Nov 2009
      • 6

      #3


      more details: The problem is when we have a window in silverlight shown like in the picture and the user then clicks to the asp.net part the silverlight window does not lose focus and we have two focuses active (but only the one in asp.net works).

      Thank you for checking it out.

      Comment

      • Kubatko
        New Member
        • Nov 2009
        • 6

        #4
        Hello,

        so we found the solution to this problem

        this must be false
        Code:
        <param name="windowless" value="false"/>
        J.

        Comment

        Working...