none
ReportViewer in ASP.NET Application - Overwriting Tooltip using JQuery RRS feed

  • Frage

  • Hello,

    I've added the ReportViewer Control to my ASP.NET Application.

    It works fine, but the tooltps in my report vanish after a few seconds. Is there a possibility to make the tooltips last, or eaven prettier?

    I tried to use JQuery in my ASP.NET Application but it didn't work. The tooltips in my Report still vanish.

    Site.Master:

        <script type="text/javascript" src="<%= ResolveUrl("~/Scripts/jquery.js") %>"></script>
        <script type="text/javascript" src="<%= ResolveUrl("~/Scripts/jquery.bgiframe.js") %>"></script>
        <script type="text/javascript" src="<%= ResolveUrl("~/Scripts/jquery.dimensions.jss") %>"></script>
        <script type="text/javascript" src="<%= ResolveUrl("~/Scripts/jquery.tooltip.js") %>"></script>

    <script type="text/javascript">
      $(function() {
      $('#set1 *').tooltip();
    });
    </script>

    ...

     <div id="set1">
                <asp:ContentPlaceHolder ID="MainContent" runat="server"/>
      </div>

    Default.aspx:

    <%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
        CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %>

    <%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
        Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>

    <asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    </asp:Content>
    <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <asp:ScriptManager id="SM1" runat="server" />
        <rsweb:ReportViewer SizeToReportContent="true" AsyncRendering="false" ID="ReportViewer1" runat="server" Font-Names="Verdana"
            Font-Size="8pt" Height="100%" ProcessingMode="Remote" Width="100%">
            <ServerReport ReportPath="/Reports/MyReport"
                ReportServerUrl="http://myserver/Instance1" />
        </rsweb:ReportViewer>
    </asp:Content>

    Thanks



    • Bearbeitet ax123 Donnerstag, 29. März 2012 14:29
    Donnerstag, 29. März 2012 14:20

Antworten

Alle Antworten