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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Thread ID:





14829 Jun 6,2004 06:20 AM UTC Jun 7,2004 02:56 AM UTC WinForms 2
Tags: GridControl
Lori S. Pearsall
Asked On June 6, 2004 06:20 AM UTC

I have a GridRecordNavigationControl that contains a derived class of GDBG called CommonDataBoundGrid (extra methods, properties, etc.). In the PaneCreated event, I notice that the new pane is created as a GDBG. Is there any way that I can cause the new pane to be an instance of my class (CommonDataBoundGrid)?

Administrator [Syncfusion]
Replied On June 6, 2004 07:18 AM UTC

If you are using a derived grid, you need to override CreateNewControl in the derived class to create a new instance of your derived grid. Otherwise, when the grids are created for new panes, then instances of GridDataBoundGrid are created, and not instances of your derived grid. Here is a long forum thread that eventually gets around to this problem toward its end. (It discusses using a GridnControl in a splitter but the same type of comments apply to GridDataBoundGrid in a GridRecordNavigationControl). http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=10215

Lori S. Pearsall
Replied On June 7, 2004 02:56 AM UTC



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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon