This is a migrated thread and some comments may be shown as answers.

Problem With RadToolTip (Radtooltip is not updating Properly )

2 Answers 41 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Atif
Top achievements
Rank 1
Atif asked on 07 Sep 2015, 07:47 AM

I have Updated Telerik From 2013 to 2015,but facing some issues now. 

I have radTooltiptip with checkbox on it, whenever i check the box, instead of updating Radtootip at same location, it update itself in the background. and I get Two tooltip at same time. One as in Popup form and second in background. while i am using only one in code. It was working perfect in telerik2013. 

<telerik:AjaxSetting AjaxControlID="rbcasestatus">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="Panel1" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
 
 
-----------------------------------------------------------------------------
 <telerik:RadToolTip ID="RadToolTip1" Animation="Slide" AnimationDuration="190" runat="server" Modal="true" HideEvent="ManualClose"
            Style="z-index: 6990" Position="Center" Width="751px">
 
            <asp:Panel ID="Panel1" DefaultButton="btndispatch" BackColor="White" runat="server" Height="250px" Width="813px">
                <table style="width: 782px">
                    <tr>
                        <td style="margin-left: 10px;" class="auto-style23"></td>
                        <td class="auto-style24" style="margin-left: 10px;">
                            <asp:Label ID="Label17" runat="server" CssClass="label" Text="Dispatch To"></asp:Label>
                        </td>
                        <td class="auto-style25">
                            <asp:RadioButtonList ID="rbcasestatus" runat="server" Height="16px" AutoPostBack="true" OnSelectedIndexChanged="rbcasestatus_SelectedIndexChanged" RepeatDirection="Horizontal" Width="172px">
                                <asp:ListItem Value="0">Client</asp:ListItem>
                                <asp:ListItem Value="1">Vendor</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                        <td class="auto-style26">
                            <asp:Label ID="lblVendorName" runat="server" CssClass="label" Text="Vendor Name"></asp:Label>
                        </td>
                        <td class="auto-style27">
                            <asp:RadioButtonList ID="rbVendorName" runat="server" Height="16px" RepeatDirection="Horizontal" Width="172px">
                                <asp:ListItem Value="0">Huawei</asp:ListItem>
                                <asp:ListItem Value="1">ZTE</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
 
                    <tr>
                        <td class="auto-style19" style="margin-left: 10px;"> </td>
                        <td class="auto-style3" style="margin-left: 10px;"> </td>
                        <td class="auto-style14">
                            <asp:Button ID="btndispatch" runat="server" BorderColor="#0099CC" BorderStyle="Solid" class="customButton" Height="31px" OnClick="btndispatch_Click" Style="float: left; margin-right: 10px; margin-left: 1px;" Text="Dispatch" ValidationGroup="SaveActivity" Width="114px" />
                        </td>
                        <td class="auto-style17"> </td>
                        <td> </td>
                    </tr>
 
                    <tr>
                        <td class="auto-style19"> </td>
                        <td colspan="4">      
                            <asp:Label ID="lblMessage" runat="server" ForeColor="Green"></asp:Label>
                        </td>
                    </tr>
                </table>
                <br />
                <br />
                  
            </asp:Panel>
 
        </telerik:RadToolTip>
 
------------------------------------------------------------------------------
 
protected void rbcasestatus_SelectedIndexChanged(object sender, EventArgs e)
    {
        if (rbcasestatus.SelectedIndex==1)
        {
            lblVendorName.Visible = true;
            rbVendorName.Visible = true;
             
        }
        else
        {
            lblVendorName.Visible = false;
            rbVendorName.Visible = false;
 
        }
    }

2 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 08 Sep 2015, 09:29 AM

Hello Atif,

Can you confirm there are no errors (either server-side or client-side)?

Duplication of controls may occur if the AJAX response is not properly formatted and it is not expected to happen. A likely reason for such an issue is nested update panels, so you may want to look into that.

The only significant change lately is that RenderInPageRoot is now true by default, so you can try setting it to false explicitly to see if this helps.

I am attaching here a sample page I built on top of the available snippet and it seems to work fine for me. If comparing it with your actual setup also does not help you resolve the situation, I would advise modifying it so it showcases your problem and opening a support ticket where you can send it to us.

Regards,

Marin Bratanov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Atif
Top achievements
Rank 1
answered on 09 Sep 2015, 05:32 AM

Thanks Marin,

Setting RenderInPageRoot="false" solved the problem :)

Tags
ToolTip
Asked by
Atif
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Atif
Top achievements
Rank 1
Share this question
or