Is there a way to get around using CellProxy controls within the UltraGridRowEditTemplate? I need to use a custom control instead. Ideas?
thanks
-Ken
The question is ,the other cellproxy controll can fire BeforeCellUpdate/AfterCellUpdate ,but the RichTextBox can't fire these events. how i solve it?
example for: I use RichTextBox bound filed in RowEditTemplate, how it fire events BeforeCellUpdate/AfterCellUpdate events ? how to add these events such as BeforeCellUpdate/AfterCellUpdate in RichTextBox ?
It depends what you want to do, but editing a proxy control is just like editing the cell in the grid and all of the same events will fire such as BeforeCellUpdate/AfterCellUpdate, etc.
Hi Mike,
I use custom control, i want to fire grid events when i edit and move out of the proxy.
How i should do to handle grid events and manually set soem properties on the replacement ?
thx:)
Hi Ken,
The easiest way to handle this is to just bind the control at design-time. That's typically when you set up your RowEditTemplate. So you just place the control you want, like UltraTextEditor, on the RowEditTemplate and then look at the Bindings properties on the UltraTextEditor. The Bindings show up at the top of the list of Properties in the property grid. Go to the Value property there and click the dropdown and you will get a list of things you can bind to. The RowEditTemplate will show up in the list and you just pick the appropriate field you want to bind to. You will also want to remove the Proxy for that field.