Hi,
I have created a form and placed a UltraWinGrid and UltraGridExcelExporter on it. In order to meet my needs I have initialized the form so I could place it in a panel as a control . Everthing works great, the grid funtions fine in the panel on the form.
Now I want to execute the UltraGridExcelExporter from the form that hosts the panel from a menu on a UltraToolBarManger. Is this possible? I tried to call the UltrGridExcelExporter using the controls class of the panel;
Me.Panel.FormThatIsAControl.Controls.UltraToolBarManger1.Export()
This didn't work.
Thanks
Adam
I'm afraid that I don't follow your code; there is no Export method on the toolbars manager as far as I am aware. You need to call the Export method on the UltraGridExcelExporter component itself.
-Matt
My mistake, I typed the incorrect code in my example, here is the code I am attempting to use;
Me.Panel.FormThatIsAControl.Controls.UltraGridExcelExporter.Export() ,