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

RadToolManager don't work in IE

4 Answers 93 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Vunvulea
Top achievements
Rank 1
Vunvulea asked on 04 Feb 2009, 09:50 AM
Hello all!

THe problem isthat the tooltip show is content in FF, but in IE i just see the tooltip but it not containts anything. I have this probleme form 3 days, please help me. (I use 2 tooltipmanager for two different action), this is why i have 2). Please help me.

------------ aspx code ----------------
 <telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" OnAjaxUpdate="OnAjaxUpdate"
        ShowEvent="OnClick" RelativeTo="Element" Skin="Web20" ManualClose="true">
    </telerik:RadToolTipManager>
    <telerik:RadToolTipManager ID="RadToolTipManagerAdaugare" runat="server"  OnAjaxUpdate="OnAjaxUpdateAdaugare"
        ShowEvent="OnClick" RelativeTo="Element" Skin="Web20" ManualClose="true" OffsetX="-150"  Width="200px"
        Height="80px">       
    </telerik:RadToolTipManager>

------------ cs code ----------------
    public void ButtonAdaugare_Click(object sender, EventArgs e)
    {
        this.RadToolTipManagerAdaugare.TargetControls.Add(((Button)sender).ClientID, true);
    }
    public void OnAjaxUpdate(object sender, ToolTipUpdateEventArgs args)
    {
        this.UpdateToolTip(args.Value, args.UpdatePanel);
        Session["rol_sters"] = args.Value;
        Session["pagina_back"] = "Vizualizare_Roluri.aspx";
    }
    public void UpdateToolTip(string elementID, UpdatePanel panel)
    {
        Control ctrl = Page.LoadControl("RolStergereDaNu.ascx");
        panel.ContentTemplateContainer.Controls.Add(ctrl);      
        
    }
    public void OnAjaxUpdateAdaugare(object sender, ToolTipUpdateEventArgs args)
    {
        this.UpdateToolTipAdaugare(args.Value, args.UpdatePanel);
        Session["pagina_back"] = "Vizualizare_Roluri.aspx";
    }
    public void UpdateToolTipAdaugare(string elementID, UpdatePanel panel)
    {
        Control ctrl = Page.LoadControl("RolAdaugare.ascx");
        panel.ContentTemplateContainer.Controls.Add(ctrl);

    }

----------- one of the controlers-----------
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="RolAdaugare.ascx.cs" Inherits="Pages_RolAdaugare" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<div style="width:200px; text-align:center" >
    <asp:Label ID="Label1" runat="server" Text="Nume rol:"></asp:Label>
    <telerik:RadTextBox ID="RadTextBoxNumeRol" runat="server">
    </telerik:RadTextBox><br />
    <asp:Button ID="ButtonAdaugare" runat="server" Text="Adaugare"
        onclick="ButtonAdaugare_Click" />
    <asp:Button ID="ButtonCancel" runat="server" Text="Cancel"
        onclick="ButtonCancel_Click" />
</div>




4 Answers, 1 is accepted

Sort by
0
Vunvulea
Top achievements
Rank 1
answered on 04 Feb 2009, 10:43 AM
Because i have in master page the RadScriptManager it don't worl. But the problem is that in master page i have also a rad menu that need a RadScriptManager. It is posible to isolate the RadScriptManager and have 2, one in master and one in chield of the master?
0
Vunvulea
Top achievements
Rank 1
answered on 04 Feb 2009, 11:20 AM
It seems that master page is not the problem. I have no idea.

HELP ME PLS
0
Tsvetie
Telerik team
answered on 10 Feb 2009, 09:31 AM
Hi Vunvulea,
I tried to reproduce the problem you describe with a simple test project that I created based on your code, but I was not able to. That is why I suppose there is something specific to your setup that leads to the problem in IE. I have attached my test project for your reference. Could you please prepare and send me a simple running project, with which I can reproduce the problem locally, so that I can research what is causing it?

All the best,
Tsvetie
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Vunvulea
Top achievements
Rank 1
answered on 10 Feb 2009, 12:18 PM
The problem was that I had in master page a form in form. That was the problem. Tks for the response.
Tags
ToolTip
Asked by
Vunvulea
Top achievements
Rank 1
Answers by
Vunvulea
Top achievements
Rank 1
Tsvetie
Telerik team
Vunvulea
Top achievements
Rank 1
Share this question
or