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

RadGrid localization problem

1 Answer 63 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Namik Kaya
Top achievements
Rank 1
Namik Kaya asked on 14 Apr 2010, 08:23 AM
Tried following article for radgrid localization, it's fine but some parts couldn't change. Screenshots are attached. Fields marked with are not replaced.

Code-behind localization using extension methods (via ResourceManager)

I have a problem without localization. Using page codes

ASPX Code:

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Liste.ascx.cs" Inherits="Kp_Kontrol_Eklenti_Liste" 
    Debug="true" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}" 
    SelectMethod="GetDS" TypeName="W5PCore.Modul.EklentiBLL">  
    <SelectParameters> 
        <asp:Parameter Name="EklentiID" Type="Int16" /> 
    </SelectParameters> 
</asp:ObjectDataSource> 
<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True"   
    DataSourceID="ObjectDataSource1" GridLines="None" PageSize="2" Skin="Hay">  
    <PagerStyle Mode="NextPrevNumericAndAdvanced"   
        PageSizeLabelText="Sayfa Boyutu:" /> 
<MasterTableView DataSourceID="ObjectDataSource1">  
<RowIndicatorColumn> 
<HeaderStyle Width="20px"></HeaderStyle> 
</RowIndicatorColumn> 
 
<ExpandCollapseColumn> 
<HeaderStyle Width="20px"></HeaderStyle> 
</ExpandCollapseColumn> 
</MasterTableView> 
    <ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True">  
    </ClientSettings> 
</telerik:RadGrid> 
 
 

ASPX.CS Code
using System;  
 
public partial class Kp_Kontrol_Eklenti_Liste : System.Web.UI.UserControl  
{  
    protected void Page_Load(object sender, EventArgs e)  
    {  
          
    }  
}  
 

Thanks

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 14 Apr 2010, 12:21 PM
Hello Namik,

For more information about how to change the default pager, please refer to the following help articles:
Accessing the elements of advanced type pager
Using PagerTextFormat

Kind regards,
Pavlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Namik Kaya
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or