I am aware this is not the first thread about this subject, still the other ones didn't solve my problem and the posts have been "out of date"...
Also, the manual doesn't gimme a hint what I am doing wrong...
However, I simply try to modify/translate the PagerTextFormat of a grid in a NumericPages mode. All I get is the "standard" text, and no, that doesn't help me in any way. Everything works as expected, except the PagertextFormat.
Maybe someone can point me into the right direction, cheers in advance.
sample ascx:
sample.ascx.cs
Also, the manual doesn't gimme a hint what I am doing wrong...
However, I simply try to modify/translate the PagerTextFormat of a grid in a NumericPages mode. All I get is the "standard" text, and no, that doesn't help me in any way. Everything works as expected, except the PagertextFormat.
Maybe someone can point me into the right direction, cheers in advance.
sample ascx:
| <telerik:RadGrid ID="RadGridSearchResult" runat="server" |
| OnNeedDataSource="RadGridSearchResult_NeedDataSource" AllowPaging="True" |
| PageSize="5" GridLines="None" AutoGenerateColumns="False" > |
| <MasterTableView> |
| <NoRecordsTemplate>No record was found!</NoRecordsTemplate> |
| <Columns> |
| . |
| . |
| . |
| </Columns> |
| </MasterTableView> |
| </telerik:RadGrid> |
sample.ascx.cs
| RadGridSearchResult.MasterTableView.NoRecordsTemplate = new namicsNoRecordsTemplate(GetGlobalResourceObject("NATITitles", "NATIPSNoRecordsMessage").ToString()); |
| RadGridSearchResult.MasterTableView.PagerStyle.Mode = GridPagerMode.NumericPages; |
| RadGridSearchResult.MasterTableView.PagerStyle.Position = GridPagerPosition.TopAndBottom; |
| RadGridSearchResult.MasterTableView.PagerStyle.PageButtonCount = 5; |
| RadGridSearchResult.MasterTableView.PagerStyle.NextPagesToolTip = GetGlobalResourceObject("NATITitles", "NATIPSPagerStyleNextPagesToolTip").ToString(); |
| RadGridSearchResult.MasterTableView.PagerStyle.PrevPagesToolTip = GetGlobalResourceObject("NATITitles", "NATIPSPagerStylePrevPagesToolTip").ToString(); |
| RadGridSearchResult.PagerStyle.PagerTextFormat = "Seite {0} von {1}, Person {2} von {3} von gesamt {5}."; |