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
160
Creating Ultra WinGrid dynamically and adding to a windows form
posted

Hi Experts,

I am using windows infragistics controls in my application

Is there a way to create the ultrawingrid dynamically through coding and add the grid control to the form.

As I am not able to find out the object for ultrawingrid (it is a namespace)

  • 469350
    Verified Answer
    Offline posted

    I'm not sure what you are asking, exactly. Creating a control at run-time is basically the same for any control. There's nothing special about the grid in this regard.


            private void Form1_Load(object sender, EventArgs e)
            {
                Infragistics.Win.UltraWinGrid.UltraGrid grid = new Infragistics.Win.UltraWinGrid.UltraGrid();
                this.Controls.Add(grid);           
            }