I'm trying to use the new print button on my rad grid but it is not showing, what am I missing. I'm using VS2013 and I upgraded the Telerik.Web.UI dll to version 2016.2.607.45. below is the example code I put together. The Add New record and the Refresh buttons do show, but not the print
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
<telerik:RadGrid ID="RadGrid1" RenderMode="Lightweight" runat="server" DataSourceID="SqlDataSource2" GridLines="Both" AutoGenerateColumns="true">
<MasterTableView DataSourceID="SqlDataSource2" CommandItemDisplay="Top">
<CommandItemSettings ShowPrintButton="true" ShowRefreshButton="true" />
</MasterTableView>
</telerik:RadGrid>
</div>
</form>
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:Northwind %>"
SelectCommand="SELECT top 20 * FROM Customers" >
</asp:SqlDataSource>
</body>
</html>
5 Answers, 1 is accepted
I tested the provided code and Print button is showing as expected in the CommandItem. Find attached my test page and see what is the difference on your end. Also confirm that version that is referenced in your project is the latest one(2016.2.607)
Regards,
Pavlina
Telerik
Did you try to run my website? If yes, what was the result?
Regards,
Pavlina
Telerik
Same result as the previous image I sent, no Print icon. two things I had to do to run it. I had to switch to the sql database on my machine because I got an error about the mdf you sent being newer than the version my machine supports. your version was 655 and apparently my machine only supports 612 and earlier. the other thing I ended up doing was comment out the authentication mode in the web config as it was causing a fail to connect to the database. After that I set the Print directory to an application in IIS set the app pool to a 4.0 version and then ran it. No print button.
I routinely only use IE, so I decided to try opening it in chrome and it does show in both chrome and firefox, so it appears to just be an IE thing.
Could you confirm that you are not running the page in IE compatibility view, this could be the reason for the missing print icon? IE7 and IE Compat Mode, which triggers IE7 emulation, are not supported as of 2015 Q3.
Regards,
Pavlina
Telerik