Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
685
How to Click into button inside UltraControlContainerEditor in gridcell
posted

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(

 

object sender, InitializeRowEventArgs e)

{

e.Row.Cells[

"Host"].EditorComponent = functionReturnsContainerObject(e.Row);

}

private UltraControlContainerEditor functionReturnsContainerObject(UltraGridRow drGridrow)

{

ultraControlContainer=

new Infragistics.Win.UltraWinEditors.UltraControlContainerEditor(this.components);

 

 

 

ultraControlContainer.EditingControlPropertyName = "ultraControlContainerC4";
 ultraControlContainer.Name = "ultraControlContainerC4";
 ultraControlContainer.RenderingControl = table1;

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