Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Beta Forum > RadOrgChart - ItemTemplate

Not answered RadOrgChart - ItemTemplate

Feed from this thread
  • Quintin avatar

    Posted on Nov 14, 2011 (permalink)

    I am trying to display a radTooltip on mouseover of the RadOrgChart node. However on OnNodeDataBind, I cannot seem find my controls in the ItemTemplate. Please assist?

    ItemTemplate looks as follows:


    <
    ItemTemplate>

     

    <div id="Image" runat="server">  

     

    <div>  

     

    <span>
    <asp:Label ID="lblCustomerName" runat="server" Text='<% Bind("AccName") %>'></asp:Label>  

     

    </span>
    <
    span>  

     

    <asp:Label ID="lblOffice" runat="server" Text='<% Bind("OfficeType") %>'></asp:Label>  

     

    </span>
    <div>  

     

    <telerik:RadToolTip runat="server" Width="400" RenderInPageRoot="true" ShowEvent="OnMouseOver"

     HideEvent="LeaveTargetAndToolTip" ID="RadToolTip1" Position="TopRight" Animation="Slide"

    RelativeTo="element" EnableShadow="true">

     </telerik:RadToolTip>

     </div>

     </ItemTemplate>

     

    Reply

  • Nikolay Tsenkov Nikolay Tsenkov admin's avatar

    Posted on Nov 15, 2011 (permalink)

    Hi Quintin,

    Could you, please, share how exactly you try to access the controls?

    You need to access the controls of the GroupItem(s), because they are getting templated.


    Regards,

    Nikolay Tsenkov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now

    Reply

  • Quintin avatar

    Posted on Nov 16, 2011 (permalink)

    Hi Nikolay,

    I guess part of my question is what the best way to achieve this is.

    Currently, I am trying to access the OrgChart node on the NodeDataBound Event and then I am try to find the div tag in the controls of the node so that I can attach a radTooltip.

    I am however unable to find any of the controls in the template defined.

    Thanks

    Reply

  • Nikolay Tsenkov Nikolay Tsenkov admin's avatar

    Posted on Nov 17, 2011 (permalink)

    Hi Quintin,

    I understand. The problem is that you try to access the controls in the node, while they are stored in the item (which is inside the node).

    OrgChartNodes are not actually displayed until they contain more than 1 GroupItem - they represent a group and while there is only one item, the node is not considered a group. Here is a nice article you can check, in order to get full grasp: http://www.telerik.com/help/aspnet-ajax/radorgchart-nodes-and-items.html

    Currently there isn't an easy way to access the controls of the template. We already are aware of this and will do our best to provide such in close future.

    Once we are ready, we will notify you in this same thread.

    Please, accept our sincere apologies for any inconvenience caused. As a small act of gratitude, for indication of this issue, I am updating you telerik points.

    Regards,
    Nikolay Tsenkov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now

    Reply

  • Quintin avatar

    Posted on Nov 17, 2011 (permalink)

    Hi Nikolay,

    Do you have any indication on the full release for this control at this stage?

    Thanks,
    Quintin

    Reply

  • Posted on Nov 17, 2011 (permalink)

    I was just trying to do the same thing. Shame this control has been released without this functionality.

    Reply

  • Nikolay Tsenkov Nikolay Tsenkov admin's avatar

    Posted on Nov 21, 2011 (permalink)

    Hello,

    We will do our best to fix the problem in time for the upcoming SP release.

    Please, accept our sincere apologies for any inconvenience caused.

    Regards,
    Nikolay Tsenkov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now

    Reply

  • Nikolay Tsenkov Nikolay Tsenkov admin's avatar

    Posted on Nov 22, 2011 (permalink)

    Hello again,

    We have resolved the problem by introducing a FindControl method on OrgChartGroupItem.

    You will be able to get the change in the next latest internal build (next week around Wednesday) or with the upcoming SP release of RadControls for ASP.NET AJAX.

    Regards,
    Nikolay Tsenkov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now

    Reply

  • Posted on Nov 22, 2011 (permalink)

    That's really good news. I'm impressed with Telerik's responsiveness to user issues.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Beta Forum > RadOrgChart - ItemTemplate