Hi, i follow some guides and forum posts, to translate the NextPrevNumericAndAdvanced pager, but i lost an information on how to translate a label.
I do this:
In the example i translate "GoToPageLabel" and "ChangePageSizeLabel", but in the grid i have another label contains "of number of pages as number".
How can i translate this label? what is its name?
thank you
Ellis
I do this:
Protected Sub RadGrid1_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid1.ItemDataBound | |
If TypeOf e.Item Is Telerik.Web.UI.GridPagerItem Then | |
Dim lblGoToPage As Label = DirectCast(e.Item.FindControl("GoToPageLabel"), Label) | |
If Not lblGoToPage Is Nothing Then lblGoToPage.Text = "Seleziona Pagina:" | |
Dim lbGoToPage As Button = DirectCast(e.Item.FindControl("GoToPageLinkButton"), Button) | |
If Not lbGoToPage Is Nothing Then lbGoToPage.Text = "Visualizza" | |
Dim lblPageSize As Label = DirectCast(e.Item.FindControl("ChangePageSizeLabel"), Label) | |
If Not lblPageSize Is Nothing Then lblPageSize.Text = "Comunicazioni per Pagina:" | |
Dim lbPageSize As Button = DirectCast(e.Item.FindControl("ChangePageSizeLinkButton"), Button) | |
If Not lbPageSize Is Nothing Then lbPageSize.Text = "Mostra" | |
End If | |
End Sub |
In the example i translate "GoToPageLabel" and "ChangePageSizeLabel", but in the grid i have another label contains "of number of pages as number".
How can i translate this label? what is its name?
thank you
Ellis