Problem with button inside UxGridViewColumn

8 replies. Last post: September 4, 2012 9:55 PM by Yudi
Tags :
Jesus AbarcaMember
Hi,

I customize a cell template in an UXGridViewColumn, and put inside of DataTemplate a button.

I need to perform an action on button's click event, but UXGridView eats the event. How can I do that?

I'm using ClientUI 7  with last hotfixes.

Regards,
Jesus

Answers

Thank you,


I found what was the problem. I was using a standard silverlight button inside of template. When I use a UXButton the click event works fine

Regards,

Jesus

All Replies

Hello,

You still can use binding command to button inside the template. With this way, you can execute the command to run or do some scenario.

Regards,
Handy

Thank you,


I found what was the problem. I was using a standard silverlight button inside of template. When I use a UXButton the click event works fine

Regards,

Jesus

Hello,

If you are using command in standard silverlight button, would it work? Since we are using MVVM pattern, it would be best if you used command instead of the event.

Regards,
Handy

I tried with ICommand and also works only with an UXButton.

If I use a standar silverlight button inside of CellTemplate, the button not reacts to click with the mouse (only with the keyboard) even if I use a command.


Regards,

Jesus

Hello,

I also have a 3rd party control inside a template within a UXGridViewColumn and the mouse events are not being passed through. If the control is not Intersoft based, can you show a quick example of how to bind mouse events to control inside the template.

Hope you can assist

Regards

Rodney

 

Yudi Member

The reported problem has been forwarded to ClientUI development team for further investigation. It is filed under work item #1256.

Should I get any updates regarding work item #1256, I will let you know by posting it on this thread.

Thankyou for looking into this issue. Mouse events where passed through in Clientui6, but after the upgrade to version 7, the control embedded in the grid column stopped working.

 

Regards

Rodney

 

Yudi Member

Thank you for the additional information. This information will surely help the team to find what may have caused the problem.

I will update this thread for any information I heard from the team regarding work item #1256.

Thank you.

All times are GMT -5. The time now is 8:53 AM.
Previous Next