How can i assign UltraButton to UltraGrid Cell
Hi,
I'm, not an expert on touch-screen systems. But I assume touching the screen at a certain point simply sends a MouseDown/Click/MouseUp notification to the control. So it should work.
Just a quick question about the button style.. I am developing a touch screen app, you think that buttons should be activated with the finger?
Hi Andre,
Thanks for reply, i have seen in forum adding a UltraButton to Cell is the new feature in next version. Basically i am building the framework, Actions will be executed based on the name of the Control that i map at initializer, in one of the requirements i have to place the button to show popup...that's where i struck..
Probably i have to workaround to get into my requirement
anyhow, your reply is helpful.
Regards
pvm444
I don't think that you have a chance to assign a name to those buttons. There's a reference to the cell that caused the click within the eventargs anyway so you should be able to determine which cell has been clicked.
Another option would be to imlement derive your own subclass from button and implement IProvidesEmbeddableEditor.
Another thing that just came into my mind would be to use an infragistics texteditor as editor for the cell. Within that texteditor you can easily add a button. Then you could try if you can change the size of the column, so that only the button part of the texteditor is visible. That's just an idea. I didn't test that.
Just for curiosity: Why do you need a different name for each button anyway?
Yes, you are right in case of assigning through the Style...But my requirement is i should have the name of the Control differently(namely lkp_Customer) this would cause some action.....If i am able to Set the Control to the Cell the way we do EditorControl i can do...
if not, i can assign UltraButton to Grid Cell...how can i name the Button when i set columnstyle as button