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

NavigationBar and MaxLabel

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

2 Replies

AD Administrator Syncfusion Team 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


HB Helmut Basler August 14, 2006 01:18 PM UTC

Hello Rajagopal,

after converting to C# it works .

Thanks for your help.
Regards,
Helmut

Loader.
Live Chat Icon For mobile
Up arrow icon