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

Tooltip doesn't work inside RadAjaxPanel

4 Answers 172 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
johnnyazee
Top achievements
Rank 1
johnnyazee asked on 14 Dec 2007, 04:08 PM
Hi,
  I am trying to put radtooltip inside radajaxpanel but it doesn't show up on client side.If I put toop radtooltip outside radajaxpanel thn it works.Following is my .aspx code.

<asp:ScriptManager ID="ScriptManager1" runat="server">

</asp:ScriptManager>

<

Rad:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1" HorizontalAlign="NotSet" >

    <radTS:RadTabStrip AutoPostBack="True" id="RadTabStrip1" runat="server"     MultiPageID="RadMultiPage1" SelectedIndex="0" Align="Justify" Width="756px">

    <Tabs>
    <radTS:Tab  ></radTS:Tab><radTS:Tab ></radTS:Tab><radTS:Tab></radTS:Tab>

    </Tabs>

</radTS:RadTabStrip>

<!-- multipage begin -->

<radTS:RadMultiPage RenderSelectedPageOnly="true" id="RadMultiPage1" runat="server" SelectedIndex="0">

<radTS:PageView ID="Page0" runat="server"></radTS:PageView>

 <radTS:PageView ID="Page1" runat="server">
    

<span class="label" style="width:150px; ">First Name:</span><asp:TextBox ID="UserFName" runat="server" CssClass="wizardTextBox" Width="200px" MaxLength="50"></asp:TextBox>

<img id="Image3" src="Images/help.JPG" runat="server" />

<telerik:RadToolTip id="RadToolTip2" runat="server" Skin="Office2007" TargetControlID="Image3"

Text="asdgasgh">

</telerik:RadToolTip>

 

</radTS:PageView>
</
radTS:RadMultiPage>
</Rad:RadAjaxPanel>


Waiting for reply..
Thanks

4 Answers, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 15 Dec 2007, 02:28 PM
Hello johnnyazee,
Please set EnableOutsideScripts of the RadAjaxPanel to "true". In case the problem persists, please prepare and send us a simple running project, demonstrating the described problem.

Regards,
Tsvetie
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
dburgett
Top achievements
Rank 1
answered on 23 Jan 2008, 12:51 AM
I have the same problem; I need to place RadToolTip controls inside a RadAjaxPanel. When I do this, the tooltip is shown correctly, but I get an error ("Two components with the same id '..' can't be added to the application.") on the next Ajax postback.

I found this thread and tried to implement the solution...but there is no EnableOutsideScripts property on the RadAjaxPanel.

I am using Prometheus 2007.3.1205.0.


(If you need an example, there is a brief web page below. It contains a wizard. The first step has a tooltip. View the tool tip and then click the Next button and you get the error.)

<asp:ScriptManager ID="ScriptManager1" runat="server" />

<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">

<asp:Wizard ID="Wizard1" runat="server" DisplaySideBar="False">

<WizardSteps>

<asp:WizardStep ID="WizardStep1" runat="server" title="Step 1">

<asp:Label runat="server" ID="Label1" Text="View Tooltip" />

</asp:WizardStep>

<asp:WizardStep ID="WizardStep2" runat="server" title="Step 2">

Now go back to previous tab.

</asp:WizardStep>

</WizardSteps>

</asp:Wizard>

<telerik:RadToolTip ID="RadToolTip1" runat="server" Skin="WebBlue"

TargetControlID="Label1" AutoCloseDelay="0"

ShowDelay="1000" EnableViewState="false" Visible="true" Position="BottomRight" >

This is the tooltip.

</telerik:RadToolTip>

</telerik:RadAjaxPanel>

0
Tsvetie
Telerik team
answered on 23 Jan 2008, 09:40 AM
Hi dburgett,
The reason why you cannot find the EnableOutsideScripts property of the RadAjaxPanel is because you are using the Prometheus version of the RadAjax, and the first post in this thread is about RadAjax Classic - take a look at the tagprefix that is used.

Regarding the problem you describe - I believe we have fixed it in the latest version of the suite - could you please update your version (to 2007.3.1314.20) and check whether the problem persists?

All the best,
Tsvetie
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
dburgett
Top achievements
Rank 1
answered on 25 Jan 2008, 12:44 AM
I actually had installed that latest version (1314)...but apparently my installation failed because my Telerik.Web.Design assembly was the new version but my Telerik.Web.UI assembly was still the old version.

Once I figured out how to fix the installation, everything works great!

Thanks for your help,
david
Tags
ToolTip
Asked by
johnnyazee
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
dburgett
Top achievements
Rank 1
Share this question
or