This is a migrated thread and some comments may be shown as answers.

Problem localizing GroupContinuedFormatString

2 Answers 104 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andreas Müller
Top achievements
Rank 1
Andreas Müller asked on 14 Jan 2009, 12:51 PM
Hi!

I'm trying to localize the grouping-messages. In this case this means the following two elements:
  • GroupContinuedFormatString
  • GroupContinuesFormatString

I did that like this:
<GroupingSettings GroupContinuedFormatString="... Gruppe fortgesetzt von vorhergehender Seite. Zeige {0} von {1} Datensätzen." GroupContinuesFormatString="Zeige {0} von {1} Datensätzen. Gruppe wird auf der Folgeseite fortgeführt."  /> 

This almost did the trick, except that instead of:

... Gruppe fortgesetzt von vorhergehender Seite. Zeige 1 von 4 Datensätzen 

it shows the following:

... Gruppe fortgesetzt von vorhergehender Seite. Zeige 1 von 4 Datensätzen.Showing 1 of 4 items. 

(on the right hand side there is the part of "Showing 1 of 4 items." which I can't make disappear)

How do I have to do this?

Tanks!!

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 14 Jan 2009, 01:25 PM
Hello Andreas,

Try setting the GroupSplitDisplayFormat property to blank as shown in the code below:
cs:
 <telerik:RadGrid ID="RadGrid1" DataSourceID="SqlDataSource2" runat="server" > 
     <GroupingSettings GroupContinuedFormatString="CustomText1" GroupSplitDisplayFormat=""   GroupContinuesFormatString="CustomText2" />            
     

Thanks
Princy.
0
Andreas Müller
Top achievements
Rank 1
answered on 14 Jan 2009, 01:53 PM
Hi Princy

Thanks for your reply.
Works perfectly!
Tags
Grid
Asked by
Andreas Müller
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Andreas Müller
Top achievements
Rank 1
Share this question
or