Floating RadPane events

8 posts, 0 answers
  1. Wojtek
    Wojtek avatar
    7 posts
    Member since:
    Jun 2012

    Posted 09 Jul 2013 Link to this post

    After user changes RadPane to floating window the controls inside the pane stop getting events like DrawingSurface.OnDraw or Silverlight's Drag&Drop events (OnDrop, DragEnter etc.). Is it connected to the fact that floating RadPane is build on top of Silverlight Popup control? Is there any workaround for this situation?

    Regards,
    Wojtek
  2. Ventzi
    Admin
    Ventzi avatar
    114 posts

    Posted 12 Jul 2013 Link to this post

    Hello Wojtek,

    Thank you for contacting us.

    Currently our ticket flow is too big and we will kindly ask you to excuse us for the delayed answer. We will contact you next week as soon as possible.

    Regards,
    Ventzi
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
  4. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 17 Jul 2013 Link to this post

    Hi,

    When a Pane is made floating its content is removed from the visual tree and is placed inside a ToolWindow after which the ToolWindow is added to the Docking control.

    Unfortunately with the case of non RoutedEvent events like the Drag and Drop events they may stop getting triggered. We are not aware of any approaches that could be used to make those events continue working when the Pane is made floating.

    Regards,
    Vladi
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  5. Wojtek
    Wojtek avatar
    7 posts
    Member since:
    Jun 2012

    Posted 18 Jul 2013 Link to this post

    Vladi,

    The ToolWindow is placed inside a Popup control which is out of main visual tree and this is the cause that routed events does not come to the RadPane. Is it possible to change the Popup to something different or at least add it to visual tree?

    Regards,
    Wojtek
  6. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 22 Jul 2013 Link to this post

    Hello Wojtek,

    The logic of the Docking control depends on that the ToolWindow will be a PopUp, as it inherits from WindowBase. We are not aware of a way to add a ToolWindow to the VisualTree.

    Please let us know if we can be of further help.

    Regards,
    Konstantina
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  7. Rakesh
    Rakesh avatar
    7 posts
    Member since:
    Oct 2014

    Posted 08 Jan 2015 in reply to Konstantina Link to this post

    Hello Konstantina,

    I would like to know, if there is any event associated with the rad pane, that is fired when we dock a floating rad pane.

    Thanks & Regards,
    Rakesh Chandru
  8. Rakesh
    Rakesh avatar
    7 posts
    Member since:
    Oct 2014

    Posted 09 Jan 2015 Link to this post

    I was working around and got to know that the PaneStateChanged event of rad dock is fired when any changes to pane state is done.
  9. Geri
    Admin
    Geri avatar
    60 posts

    Posted 12 Jan 2015 Link to this post

    Hi Rakesh,

    You are absolutely right, the PaneStateChanged event is fired whenever the state of the RadPane is changed, including the docking of a floating RadPane.

    If you have any further questions, please do not hesitate to contact us.

    Regards,
    Geri
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
DevCraft banner