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.
Syncfusion Feedback

NavigationBar and MaxLabel

Thread ID:

Created:

Updated:

Platform:

Replies:

47698 Aug 10,2006 09:16 AM UTC Aug 14,2006 01:18 PM UTC Windows Forms 2
loading
Tags: Grouping
Helmut Basler
Asked On August 10, 2006 09:16 AM UTC

Hello,

at the NavigationBar I want to display a german string like "Eintrag x von Y". With >>gridMaster.RecordNavigationControl.Label = "Eintrag";<< and >>gridMaster.RecordNavigationControl.MaxLabel = "von " + gridMaster.RecordNavigationBar.MaxRecord.ToString();<< I''m able to display this string.
But if I scroll down the string changed to "Eintrag x of Y".

I take a look at GridGroupingControl.cs and see in UpdateNavigationBar() that RecordNavigationControl.MaxLabel is ignored and replaced by >>string maxLabel = "of " + Table.FilteredRecords.Count.ToString();<<.

How to fix or workaround?

Thanks
Helmut

Administrator [Syncfusion]
Replied On August 14, 2006 09:48 AM UTC

Hi Helmut,

My apologies for the delayed response.
You can add a label, such that it sits over top of the current information, and then format this label anyway you want. Please try the attached sample that shows a try at this.

Here is a sample
http://www.syncfusion.com/Support/user/uploads/GGC_AutoSize1_9e21367a.zip

Thanks for your patience.
Regards,
Rajagopal

Helmut Basler
Replied On August 14, 2006 01:18 PM UTC

Hello Rajagopal,

after converting to C# it works .

Thanks for your help.
Regards,
Helmut

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.

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

;