We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Use datasource that is set at run time but design layout without adding data source to project

Thread ID:





120206 Sep 10,2015 01:15 PM UTC Sep 11,2015 12:05 PM UTC WinForms 1
Tags: GridGroupingControl
Asked On September 10, 2015 01:15 PM UTC


I'm pretty new to Syncfusion but am falling in love quickly.  I would like to use the GridGroupingControl, or at a minimum, the GridDataBound control.

I would like to use the designers that are included so I can select the columns and layout, etc. but I don't want to use a project data source that is added via the IDE.

I set the datasource at run time and do not want to bind in the designer.  Is there any way of telling any of the grid controls to use my C# code that I call to fill the grid at run time, while in the IDE, so I can design the layout?

Thank you

Venkatesh Sundaram [Syncfusion]
Replied On September 11, 2015 12:05 PM UTC

Hi Chris,

Thanks for your interest in Syncfusion Product.

In GridGroupingControl, the DataSource property used to display the data at run time. Hence, it is not displayed in the designer layout. To display in the layout, add the Project data source in the designer.

.gridgroupingControl1.datasource= “DataSource filename”;



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon