Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
155
Ultra ControlContainer Editor
posted

Embedding a usercontrol with a button.  Need the following behavior.  Getting closer but could use some assistance please..

1. When any cell in a row is clicked the entire row displays highlighted (including cell with user control).  The usercontrol should be active so in this case the button should be active and if clicked should "work"

2. If  a usercontrol cell is clicked, the entire row should be selected & highlighted and the usercontrol should "work".  In this case if a button on a given row is selected the row should become selected & highlighted and the button click event should fire.

Thanks in advance.

 

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    In addition to CellClickAction (which exists on the Override and also on the UltraGridColumn), you should check out the EnterEditModeMouseBehavior property on the UltraControlContainerEditor. This property allows you to forward the click messages to the EditingControl when the user clicks on the cell and it's not in edit mode. This only makes sense if the RenderingControl and the EditingControl are the same type or at least look the same and have the button in the same place, of course.

Children