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.
Unfortunately, activation email could not send to your email. Please try again.

GridRecordNavigationControl

Thread ID:

Created:

Updated:

Platform:

Replies:

14829 Jun 6,2004 02:20 AM Jun 6,2004 10:56 PM Windows Forms 2
loading
Tags: GridControl
Lori S. Pearsall
Asked On June 6, 2004 02:20 AM

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 03:18 AM

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 6, 2004 10:56 PM

Thanks!!

CONFIRMATION

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.

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.

;