or
protected void radGridAll_ItemCommand(Object sender, GridCommandEventArgs e) { if (e.CommandName != "Print" ) return; Guid id = Guid.Parse(e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["ID"].ToString()); //lblMessage.Text = string.Empty; switch (e.CommandName) { case "Print": //string args = Request.QueryString["ApplicationID"]; NMotionServer.ApplicationLead _application = NMotionServer.ApplicationLeadService.GetByID(id); if (_application.LeadStatusID == (int)enumLeadStatus.Fresh || _application.LeadStatusID == (int)enumLeadStatus.Viewed) { AppHistory _leadStatusEvent = new AppHistory() { ApplicationLeadID = _application.ID, EventTypeID = 2, ForeignKeyID = (int)enumLeadStatus.Printed, Timestamp = DateTime.Now, UserProfileID = ((UserProfile)Session["_userProfile"]).ID }; AppHistoryService.Save(_leadStatusEvent); _application.LeadStatusID = (int)enumLeadStatus.Printed; ApplicationLeadService.Save(_application); } //RptApplication _applicationReport = new RptApplication((DealerLinkServer.SalesForceWebReference.SforceService)Session["SalesForceBinding"], args); RptApplication _applicationReport = new RptApplication(id.ToString()); ReportProcessor _processor = new ReportProcessor(); RenderingResult result = _processor.RenderReport("PDF", _applicationReport, null); string fileName = "NMotion_Lead_" + _application.ApplicantNameLast2First.Replace(" ", "_").Replace(",","_").Replace("'", "_") + "_" + _application.DateOfApplication.Year + _application.DateOfApplication.Month + _application.DateOfApplication.Day + ".pdf"; Response.Clear(); Response.ContentType = result.MimeType; Response.Cache.SetCacheability(HttpCacheability.Private); Response.Expires = -1; Response.Buffer = true; Response.AddHeader("Content-Disposition", string.Format("{0};FileName=\"{1}\"", "attachment", fileName)); Response.BinaryWrite(result.DocumentBytes); Response.End(); break; } }<script language="javascript"> //a flag to ease the logic which determines whether to redirect the user //will not redirect if the RadButton is clicked var toRedirect = true; function OnClientHiding(sender, args) { if (toRedirect) { window.location.href = sender.get_value(); } } function ContinueSession() { var notification = $find("<%= rnSessionTimeout.ClientID %>"); toRedirect = false; notification.update(); notification.hide(); } function OnClientShowing() { //raise the flaga again so that a redirect will occur if the notification autocloses toRedirect = true; }</script><telerik:RadNotification ID="rnSessionTimeout" runat="server" Position="Center" Width="300" Height="125" LoadContentOn="PageLoad" AutoCloseDelay="105000" Title="Session Expiration" TitleIcon="Warning" OnClientShowing="OnClientShowing" ContentIcon="Warning" Skin="Default" EnableRoundedCorners="true" OnClientHiding="OnClientHiding"> <ContentTemplate> <p align="left"> Your session is about to expire. Do you wish to continue using this site?<br /> <telerik:RadButton Skin="Default" ID="continueSession" runat="server" Text="Continue Your Session" Style="margin-top: 10px;" OnClientClicked="ContinueSession" Autopostback="false" /> </p> </ContentTemplate></telerik:RadNotification>Protected Sub rnSessionTimeout_CallbackUpdate(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadNotificationEventArgs) Handles rnSessionTimeout.CallbackUpdateEnd Subvar menu = $find("<%= RadMenu1.ClientID %>");<%@ Page Title="Home Page" Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head> <title></title></head><body onload="pageLoad()"> <form id="form1" runat="server"> <telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnableTheming="True"> </telerik:RadScriptManager> <telerik:RadMenu ID="RadMenu1" runat="server"> </telerik:RadMenu> </form></body><script type="text/javascript"> function pageLoad() { var menu = $find("<%= RadMenu1.ClientID %>"); }</script></html>.rdDragHelper
{
opacity: .1 !important;
filter:alpha(opacity=10) !important; /* For IE8 and earlier */
}
Am I missing a selector..is this not configurable?
Thanks for your input.
Dan