RadToolTip在RadAjaxPanel内部不起作用

时间:2018-07-11 23:10:27

标签: asp.net telerik

我有一个rad工具提示,在大多数情况下都能正常工作。但是在RadAjaxPanel下不起作用。谁能告诉我可能出了什么问题。我怎样才能使其在RadAjaxPanel下工作。

下面是代码:-

 <table width="100%" border="0" cellpadding="0" cellspacing="0" style="overflow:scroll; height:100%;">
    <tr>
        <td valign="top"> 
            <div class="editor">
<telerik:RadAjaxPanel ID ="RadPnlBody" runat="server" EnableOutsideScripts="true" LoadingPanelID="LoadingPanel1">  
        <table border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3">
    <asp:ValidationSummary ID="ValSummary" runat="server" ValidationGroup="DealCostAdj" />
</td>
</tr>
<tr>
    <td colspan="3" align="right">
        <asp:Button ID="btnTopSave" runat="server" ValidationGroup="DealCostAdj" ToolTip="Save Press:Alt-S" Text="Save" Height="24px" Width="75px" TabIndex="178" AccessKey="S" />
        <asp:Button ID="btnTopCancel" runat="server" ToolTip="Cancel Press:Alt-C" Text="Cancel" Height="24px" Width="75px" TabIndex="179" AccessKey="C" CausesValidation="false" />
    </td>
</tr>
<tr>
<td>
<asp:Panel Width="100%" ID="Panel3" runat="server" GroupingText="Deal Costs" Visible="true">
<table width="100%">
<tr>
<td style="height:12px;">
<asp:Label ID="lblDlCostID" runat="server" Text="Deal Cost ID:" />
</td>
<td>
<asp:TextBox ID="txtDealCostID" Height="16px" runat="server" SkinID="ReadOnlyTextBox" ReadOnly="True" />
</td>
<td valign="top" align="right" width="300px" rowspan="5" colspan="2">
</td>
</tr>
<tr>
<td style="height:12px;">
<asp:Label ID="lblStatus" runat="server" Text="Deal Cost Status:" />
</td>
<td>
<asp:TextBox ID="txtStatus" Height="16px" runat="Server" SkinID="ReadOnlyTextBox" ReadOnly="True" />
</td>
<td>
<asp:ImageButton ID="btnHelpStatus" runat="server" Font-Bold = "false" Text="Help" Height="19px" ImageUrl="Images/QuestionMark.png"></asp:ImageButton>

            <telerik:RadToolTip RenderMode="Lightweight" runat="server" ID="RadToolTipStatus" TargetControlID="txtStatus" IsClientID="false"
                ShowEvent="OnClick" HideEvent="Default" Position="TopRight" RelativeTo="Element" AutoCloseDelay="60000"
                Width="200px" Height="200px" Title="<b>Help Information</b>">
            <asp:Label ID="LabelStatusHelpInfo" Text="<b>FAQ</b>: The Recoverable project ID is still pending approval. Who should I contact ? <br/><br/> <b>Answer</b>: Please contact Capital Markets Project team = CMGProjects@am.jll.com" runat="server" />
            </telerik:RadToolTip>
</td>        
</tr>
</table>

在上面的代码片段的末尾请注意以下代码片段:-

<asp:TextBox ID="txtStatus" Height="16px" runat="Server" SkinID="ReadOnlyTextBox" ReadOnly="True" />
</td>
<td>
<asp:ImageButton ID="btnHelpStatus" runat="server" Font-Bold = "false" Text="Help" Height="19px" ImageUrl="Images/QuestionMark.png"></asp:ImageButton>

            <telerik:RadToolTip RenderMode="Lightweight" runat="server" ID="RadToolTipStatus" TargetControlID="txtStatus" IsClientID="false"
                ShowEvent="OnClick" HideEvent="Default" Position="TopRight" RelativeTo="Element" AutoCloseDelay="60000"
                Width="200px" Height="200px" Title="<b>Help Information</b>">
            <asp:Label ID="LabelStatusHelpInfo" Text="<b>FAQ</b>: The Recoverable project ID is still pending approval. Who should I contact ? <br/><br/> <b>Answer</b>: Please contact Capital Markets Project team = CMGProjects@am.jll.com" runat="server" />
            </telerik:RadToolTip>
</td>

我该如何使用它?有什么想法吗?

0 个答案:

没有答案