Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Elegant Grid Tech Support » how to clear the grid Collapse All
Subject Author Date
sean moynihan Apr 14, 2011 - 6:25 AM

Purchased your elegant grid product , and would like assistance with following

 


 sample code that fills grid from XMl ( or any other table )



ds.ReadXml(


eGrid1.DataSource = ds.Tables[1];


@"c:\dotapps\test\parameters.xml");

I need to be able to clear this grid, the usual way with datagridview etc is to set the data source to null



eGrid1.DataSource =


null;

When I do this with elegant , i get a null reference exception




What is the correct way to clear  the grid , i searched your knowledge base , did find one previous ref in 2007 , but was unresolved


( I can attachsample project  that loads data from xml file )


Technical Support Apr 14, 2011 - 1:55 PM

The project you have attached to this letter misses the /Properties folder contents (AssemblyInfo.cs, Resources.resx, Settings.settings). Could you add these files and send the project us again so we could build it?