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

Parents
No Data
Reply
  • 469350
    Offline posted

    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.

     

Children