Hi,
I have ultragrid with ultraTextEditor using ultraControlContainerEditor1.
I want to capture the ultraTextEditor text as soon as user type in it, in short every key stroke with in the ultraTextEditor.
I tried to do this using ultraGrid1_CellChange event , but it is not triggering at all for any cell I change the value.
It's not exactly clear to me what you are asking.
The UltraControlContainer will apply certain basic appearance properties to the EditingControl and the RenderingControl. This includes BackColor, ForeColor, and Font, I think. So if you just use the InitializeRow event of the grid to apply an Appearance to the cell, that should do a lot for you.
I'm pretty sure that ForeColor and Font are automatically picked up from the parent control, so UltraTextEditor should pick those up. So that would just leave BackColor. If you want the BackColor of the UltraTextEditor to pick up the BackColor of the cell/UserControl, then you could just set the UltraTextEditor.Appearance.BackColor to Transparent. If you want more fine control over the appearance of the child controls, then you could override ApplyOwnerAppearance on your derived ControlContrainerEditor class.
Hello Mike & Ivan,
Can I do conditional ultraGrid1 row wise UltraTextEditor1 foreColor?
I am able to do it , but its getting for all rows (UltraTextEditor1) or none.
Thanks Ivan for the sample, which route us to the solution.
Hi Lizzy,
I'm glad that you were able to resolve your issue with the suggestion above.
Please don't hesitate to reach back if you have any questions.
Regards,Ivan Kitanov
Thanks Mike for the suggestions and sample.
It worked !!!!!!!!!!!!!!