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
close icon

What is the correct way to remove GridRecordNavigationControl?

I have a grid with GridRecordNavigationControl. I want to let user turn off/on GridRecordNavigationControl from UI. What is the correct way to add/remove GridRecordNavigationControl? For removing  I should remove GridRecordNavigationControl from its parent controls collection and insert grid control instead of it. To turn on I have to do the opposite - remove grid control from parent;s control collection, add GridRecordNavigationControl and add grid to GridRecordNavigationControl controls collection. Is it a correct colution?

3 Replies

AS Alexander S October 31, 2013 03:10 PM UTC

I got what I need:
recordNavigationControl.NavigationButtons = DisplayArrowButtons.None;
recordNavigationControl.NavigationBarWidth = 0;

this code hides navigator stripe at the bottom. Thanks me)


AS Alexander S October 31, 2013 03:10 PM UTC

I got what I need:
recordNavigationControl.NavigationButtons = DisplayArrowButtons.None;
recordNavigationControl.NavigationBarWidth = 0;

this code hides navigator stripe at the bottom. Thanks me)


AS Athiram S Syncfusion Team November 6, 2013 04:52 AM UTC

Hi Alexander,

Thanks for your update.

We are glad to know that the issue is resolved at your end.

Regards,
Athiram S

Loader.
Live Chat Icon For mobile
Up arrow icon