I am changing the pager style mode of a grid from NextPrev to NextPrevNumericAndAdvanced.
I am using a skin file, and the change of the mode is working.
however I am trying to change this for several languages (different skin files are used for that) and I am at a complete loss about how to change the text parts that were added with the change from NextPrev to NextPrevNumericAndAdvanced
My pagerstyle tag in the skin file looks like this
<PagerStyle
FirstPageToolTip=""
LastPageToolTip=""
PagerTextFormat="Pagina wisselen: {4} Pagina <strong>{0}</strong> van <strong>{1}</strong>, items <strong>{2}</strong> tot <strong>{3}</strong> van <strong>{5}</strong>."
PageSizeLabelText="Pagina grootte"
PrevPagesToolTip=""
PrevPageToolTip=""
NextPagesToolTip=""
NextPageToolTip=""
/>
basically I am looking into a way of changing the red parts in the screenshot.
i.e 2 button texts, and 2 label texts
I suppose I have to change the PagerStyle tag, but I have no idea which variablenames to add/change, or if I can do it by changing the PagerTextFormat.
Anyone knows how to do this?


Telerik Team,
I have radgrid as below but the filter is not appearing properly.
Attached is the screen shot of filter dropdown
<telerik:RadGrid ID="rgrdUsers" runat="server" OnNeedDataSource="rgrdUsers_NeedDataSource" AllowFilteringByColumn="True"
AllowSorting="True" AllowPaging="True" PageSize="10" AutoGenerateColumns="False"
EnableLinqExpressions="false" OnItemDataBound="rgrdUsers_ItemDataBound" OnItemCreated="rgrdUsers_ItemCreated" Width="100%">
<ClientSettings EnableRowHoverStyle="true">
<Scrolling UseStaticHeaders="true" AllowScroll="true" SaveScrollPosition="true" />
<Selecting AllowRowSelect="true" />
</ClientSettings>
<ExportSettings ExportOnlyData="true" FileName="ESR Detail List" IgnorePaging="true"
OpenInNewWindow="true" Excel-Format="ExcelML">
</ExportSettings>
<MasterTableView DataKeyNames="UserID,UserType,RoleID,BusinessUnitID,teamid" CommandItemDisplay="Top" >
<CommandItemSettings ShowAddNewRecordButton="false" ShowRefreshButton="true" ShowExportToExcelButton="false"/>
<Columns>
<telerik:GridBoundColumn DataField="LastName" FilterDelay="200" FilterControlWidth="80px" HeaderStyle-Wrap="false" ItemStyle-Wrap="false" ShowFilterIcon="false" HeaderText="First Name"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="FirstName" FilterDelay="200" FilterControlWidth="80px" HeaderStyle-Wrap="false" ItemStyle-Wrap="false" ShowFilterIcon="false" HeaderText="Last Name"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="EmailID" FilterDelay="200" FilterControlWidth="80px" HeaderStyle-Wrap="false" ItemStyle-Wrap="false" ShowFilterIcon="false" HeaderText="EmailID"></telerik:GridBoundColumn>
<%--<telerik:GridBoundColumn DataField="UserTypeName" HeaderText="UserType Name"></telerik:GridBoundColumn>--%>
<telerik:GridBoundColumn DataField="RoleName" FilterControlWidth="80px" HeaderStyle-Wrap="false" ItemStyle-Wrap="false" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" HeaderText="Role Name"></telerik:GridBoundColumn>
<%--<telerik:GridBoundColumn DataField="AllowEmail" HeaderText="AllowEmail"></telerik:GridBoundColumn>--%>
<telerik:GridBoundColumn DataField="BusinessUnitName" FilterControlWidth="90px" HeaderStyle-Wrap="false" ItemStyle-Wrap="false" HeaderText="Business Unit"></telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="TeamName" DataField="TeamName" HeaderText="Team" HeaderStyle-Wrap="false" ItemStyle-Wrap="false" >
<FilterTemplate>
<telerik:RadComboBox ID="rcmbTeamName" runat="server" DropDownAutoWidth="Enabled"
AppendDataBoundItems="true" Height="200px" SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("TeamName").CurrentFilterValue %>'
OnClientSelectedIndexChanged="TeamIndexChanged" Width="150px" >
<Items>
<telerik:RadComboBoxItem Text="All" />
</Items>
</telerik:RadComboBox>
<telerik:RadScriptBlock ID="radscriptTeamCombo" runat="server">
<script type="text/javascript">
function TeamIndexChanged(sender, args) {
var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
tableView.filter("TeamName", args.get_item().get_value(), "EqualTo");
}
</script>
</telerik:RadScriptBlock>
</FilterTemplate>
</telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="ReportingTo" DataField="ReportingTo" HeaderText="Managers" HeaderStyle-Wrap="false" ItemStyle-Wrap="false">
<FilterTemplate>
<telerik:RadComboBox ID="rcmbManagers" runat="server" DropDownAutoWidth="Enabled"
AppendDataBoundItems="true" Height="200px" SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("ReportingTo").CurrentFilterValue %>'
OnClientSelectedIndexChanged="ManagerIndexChanged">
<Items>
<telerik:RadComboBoxItem Text="All" />
</Items>
</telerik:RadComboBox>
<telerik:RadScriptBlock ID="radscriptManagerCombo" runat="server">
<script type="text/javascript">
function ManagerIndexChanged(sender, args) {
var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
tableView.filter("ReportingTo", args.get_item().get_value(), "EqualTo");
}
</script>
</telerik:RadScriptBlock>
</FilterTemplate>
</telerik:GridBoundColumn>
<%-- <telerik:GridBoundColumn DataField="UserName" HeaderText="UserName"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Passwords" HeaderText="Password"></telerik:GridBoundColumn>--%>
<telerik:GridBoundColumn DataField="IsActive" FilterControlWidth="50px" HeaderText="Active" HeaderStyle-Wrap="false" ItemStyle-Wrap="false"></telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
Can you reply ASAP.
<telerik:GridBoundColumn HeaderText="Date" HeaderButtonType="TextButton" DataField="Date">
<ItemStyle Width="67px" />
</telerik:GridBoundColumn>
<telerik:GridTemplateColumn HeaderText="" UniqueName="View">
<ItemTemplate>
<asp:ImageButton id="imgbtnView" imageurl="~/Images/btn_View.gif" runat="server" visible= <%# DataBinder.Eval(Container.DataItem, "Status")%> onclientclick="showCaseHistory(<%# Eval(\'Type\')%>);" >
</asp:ImageButton>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridBoundColumn HeaderText="Description" HeaderButtonType="TextButton"
DataField="Description">
</telerik:GridBoundColumn>
onclientclick="showCaseHistory(<%# Eval(\'Type\')%>);"
this is what the statement i am using, but i am getting the error saying that Error: illegal XML character
kindly advise.
Regards,
Santhosh
Hi,
I have a grid in which i am using static headers. Its working properly when its loaded the first time but when I select a row the details of that particular row is populated and there is a cancel button there. If the user clicks on the cancel button the grid is again populated but this time if I scroll the grid horizontally the headers are fixed there itself and only data is moving.Its working fine in IE 9 compatibility mode but the problem exists in IE9.
I am using Radgrid 2014.2.618.35.
Thanks
Please see the attached screenshot, all the skins render with invisible borders on Mac/Safari?
I have a menu that is bound to a data table. The data table is linked to database.The data table holds two values; RequestID and Company Name.
What I want is to populate the menu with the company names, and pass the RequestID through the URL to a generic 'details.aspx?id=RequestID'
So what I did was set the DataNavigateUrlField equal to 'RequestID' from the datatable.
The problem is that it makes the link to JUST the RequestID
protected void Page_Load(object sender, EventArgs e){ //Create datatable to populate menu DataTable menu = Utils.sqlutils.GetDataTable("DATABASE", "SELECT [RequestID], [CompanyName] FROM CauseMarketer_Requests WHERE Approved = '0'"); updatingMenu.DataSource = menu; updatingMenu.DataNavigateUrlField = "RequestID"; updatingMenu.DataTextField = "CompanyName"; updatingMenu.DataBind();}So the DOM ends up looking like this
<a class="rmLink rmRootLink" href="19"><span class="rmText">COMPANY NAME</span></a>What i want is the href to be "details.aspx?id=19"
What I've tried
updatingMenu.DataNavigateUrlField = "~details.aspx" + "RequestID";But this causes a problem with my my databind and won't build.
I am filling my radgrid from code behind using a iquerable but for some reason the filtering is not working at all even when i click the action button nothing happens am i missing a step?.
public IQueryable<Appointment> getAllApointments(){ var _appointments = apertureNetEntities.Appointments.Where(f => f.isDeleted == false ).OrderByDescending(o => o.authCreatedDate).ToList(); return _appointments.AsQueryable();}
protected void Page_Load(object sender, EventArgs e){ rgAppointments.DataSource = _dal.getAllApointments(); rgAppointments.DataBind(); }