Hi Mike,i have a new requirement ,where i have a table which is programatically binded inside UltraControlContainerEditor as shown below
ultraControlContainer.EditingControlPropertyName = "ultraControlContainerC4"; ultraControlContainer.Name = "ultraControlContainerC4"; ultraControlContainer.RenderingControl = table1;
UltraControlContainerEditor
as showed above is my container which i'm binding into grid cells on InitializeRow event
ultragrid1_InitializeRow(
{
e.Row.Cells[
"Host"].EditorComponent = functionReturnsContainerObject(e.Row);
}
private UltraControlContainerEditor functionReturnsContainerObject(UltraGridRow drGridrow)
ultraControlContainer=
new Infragistics.Win.UltraWinEditors.UltraControlContainerEditor(this.components);
returns UltraControlContainerEditor // like picture shown above
now my question here is...how can i click into those buttons inside container after we binded into grid cells .
Note : i have already attached the clicked events to those buttons programtically
please let me know the solution on this
thanks
prasant rout
Hi,
I'm having a really hard time understanding your question.
How can you click on a button? You move your mouse over the button and press the mouse button. :)
Clearly, that's not what you are asking me, so I'm afraid I don't understand your question.
Also, the code you posted here is very hard to read and I don't understand what you are trying to do. Why are you creating a new UltraControlContainerEditor for every cell in the column with exactly the same properties? This seems terribly inefficient.
Hi mike,asking you a very simple question .. :)
Problem is..... .after biding the container into the grid cells ...buttons inside container are not clickable even though my grid cellclickaction property set to editmode and allowupdate property set to true. Hoping you are clear now ...
let me know incase still not understanding ...my question ..Thanks.cheers