or
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="RadControlsWebApp4._Default" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title> <link href="./Styles/TempTemplate.css" rel="Stylesheet" type="text/css" /> <script type="text/javascript" language="javascript" src="./Scripts/RadNotification.js"></script></head><body> <form id="form1" runat="server"> <div> <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> <Scripts> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" /> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" /> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" /> </Scripts> </telerik:RadScriptManager> </div> <script type="text/javascript"> var firstNotificationShowTime = 0; var firstNotificationHideTime = 0; var timerFirstShow; var timerFirstHide; $(document).ready(function () { var firstNotification = $find("<%=RadNotificationFirst.ClientID %>"); $("#TextBoxFirstNotificationShowInterval").val(firstNotification.get_showInterval()); $("#TextBoxFirstNotificationHideInterval").val(firstNotification.get_autoCloseDelay()); }); function ChangeNotificationTimer() { var firstNotification = $find("<%=RadNotificationFirst.ClientID %>"); var firstNotificationShowInterval = $("#TextBoxFirstNotificationShowInterval").val(); var firstNotificationHideInterval = $("#TextBoxFirstNotificationHideInterval").val(); firstNotification.set_autoCloseDelay(parseInt(firstNotificationHideInterval)); firstNotification.set_showInterval(firstNotificationShowInterval); return false; } function CountTimerHide() { firstNotificationHideTime -= 1000; $("#tdOutputFirst").html("hiding after" + parseInt(firstNotificationHideTime / 1000) + " Second"); } function CountTimerShow() { firstNotificationShowTime -= 1000; $("#tdOutputFirst").html("showing after" + parseInt(firstNotificationShowTime / 1000) + " Second"); } function OnClientShowing(sender, args) { clearInterval(timerFirstShow); $("#print").html($("#print").html() +" "+sender.get_id()+ "showing call<br>"); firstNotificationHideTime = sender.get_autoCloseDelay(); timerFirstHide = setInterval("CountTimerHide()", 1000); } function OnClientHiding(sender, args) { clearInterval(timerFirstHide); $("#print").html($("#print").html() + " " + sender.get_id() + "Hiding call<br>"); firstNotificationShowTime = sender.get_showInterval(); timerFirstShow = setInterval("CountTimerShow()", 1000); } </script> <div> <table cellpadding="0" cellspacing="0" style=""> <tr> <td class="tdLeftContent">First Notification Show Interval</td> <td class="tdRightContent"> <asp:TextBox ID="TextBoxFirstNotificationShowInterval" runat="server"></asp:TextBox> </td> </tr> <tr> <td class="tdLeftContent">First Notification Hide Interval</td> <td class="tdRightContent"> <asp:TextBox ID="TextBoxFirstNotificationHideInterval" runat="server"></asp:TextBox> </td> </tr> <tr> <td style="text-align:center;" colspan="2"> <asp:Button ID="Button1" runat="server" Text="Change" OnClientClick="return ChangeNotificationTimer();"/> </td> </tr> <tr> <td id="tdOutputFirst" style="text-align:center;" colspan="2"> </td> </tr> </table> </div> <div id="print"> </div> <telerik:RadNotification ID="RadNotificationFirst" runat="server" Position="Center" ShowInterval="7000" AutoCloseDelay="6000" Width="300" Height="200" Title="First Notification" OffsetX="-180" OffsetY="-65" OnClientShowing="OnClientShowing" OnClientHiding="OnClientHiding" TitleIcon="" EnableRoundedCorners="true"> </telerik:RadNotification> </form></body></html>RadGrid1.MasterTableView.Columns[3].FilterTemplate = null;Hi,
Now i am able to print RadGrid selected row with the help of following article:
http://www.telerik.com/community/forums/aspnet-ajax/grid/how-to-print-selected-radgrid-row-and-add-new-link-button-in-command-item-template.aspx
I need to print Header Row along with selected row.
How can i achieve above requirement.
Thanks in advance...
<NoRecordsTemplate> <div style="background: url(/Images/noresults-background.jpg) no-repeat 50% 80%; height: 159px"> <img src="/Images/noresults-magnifying-glass.png" alt="Search icon" align="left" style="vertical-align: middle" /> <div style="padding: 15px"> <h2 style="margin-left: 142px"> Sorry, no matching records found. </h2> <ul style="margin: 15px 10px 0px 145px" class="green-bullets"> <li>Are you in the correct time range? Double check the Start and End dates below.</li> <li>Have you verified that the client is still active? Check the Status dropdown.</li> <li>Do you have an assignment to the client still? Ask your System Administrator.</li> </ul> </div> </div> </NoRecordsTemplate>