Hi All,
I’ve place the UltraFormattedLinklabel with rightsbutton in the form and added to this control to the wingrid. Now I want fire/capture the rightsbutton click event…
Note: I added UltraFormattedLinkLabel to WinGrid but It’s not firing EditorButtonClick Event from WinGrid…
Thanks in advance….
ateeqpasha
I assume that you are referring to UltraFormattedTextEditor, as UltraFormattedLinkLabel does not support buttons.
The WinGrid does not have an EditorButtonClick event. The EditorButtonClick event is on the UltraFormattedTextEditor. The Context on the event args will give you the cell that was clicked.
Mike Saltzman"]I assume that you are referring to UltraFormattedTextEditor, as UltraFormattedLinkLabel does not support buttons.
Actually, the ultraformattedlinklabel does support buttons (buttonsright and buttonsleft). At least it does with 2007.3.
The problem is that buttons on an ultraformattedlinklabel are not supported well within a grid. First, they don't show up unless you set the button display style on the cell to "always," and then you have to use a combination of the grid's click event, active cell, and uielement stuff to figure out that the button was actually clicked, since it does not fire the control's editorbuttonclick event like it does with the formatted editor.