1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / RadTooltip and Usercontrols in Sitefinity 4

RadTooltip and Usercontrols in Sitefinity 4

8 posts, 0 answered
  1. Jeff
    Jeff avatar
    5 posts
    Registered:
    25 Jun 2010
    26 May 2011
    Link to this post
    Quick question guys.

    How do I get a user control I created, signup.ascx and ascx.cs to appear on a Sitefinity page with a link. And when a visitor clicks that link, a RadTooltip will open with my signup usercontrol inside the tool tip.

    I have got a clue on how to do this, with ASPX, I would just register the control, setup the tag name and prefix. And add it to the aspx page. But it seems I can't do that.


    Alternatively, I would put a RadToolTIpManager on the master pages, and set the target control ids. But I heard during Sitefinity upgrades that master page is wiped clean, so my RadToolTipManager info will be gone, breaking the site.

    Any solution to adding this correctly? 

    Thanks.
  2. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    26 May 2011
    Link to this post
    WHAT IF...(hear me out)

    What if you use FancyBox to do this instead of the RadToolTip
    1) It's an embedded script in sitefinity, easy to turn on
    2) It's faster than RadToolTip
    3) Looks better....RadToolTip renders as a TABLE!(?!) instead of DIVs...so....yeah

    I heard during Sitefinity upgrades that master page is wiped clean, so my RadToolTipManager info will be gone, breaking the site.

    Not sure where you heard this, not the case (at least anymore)
  3. Jeff
    Jeff avatar
    5 posts
    Registered:
    25 Jun 2010
    31 May 2011
    Link to this post
    What do you mean Fancy Box? Can a user control be added to a Fancy Box? And can multiple anchor tags trigger the Fancy Box?
  4. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    31 May 2011
    Link to this post
    Yeah, Fancybox is just a div on your page that is able to pop-up (or an iframe)

    http://fancybox.net/

    The script comes with sitefinity, you just need to link it in with the resource controls
  5. Jeff
    Jeff avatar
    5 posts
    Registered:
    25 Jun 2010
    01 Jun 2011
    Link to this post
    I'm not seeing Fancy Box at all, in the admin panel.
  6. Jeff
    Jeff avatar
    5 posts
    Registered:
    25 Jun 2010
    02 Jun 2011
    Link to this post
    I think it would be easier if I just used the RadToolTip, since I'm used to that. If I can get any help with that, it would be much appreciated. 
  7. Jeff
    Jeff avatar
    5 posts
    Registered:
    25 Jun 2010
    08 Jun 2011
    Link to this post
    Any help with this would be greatly appreciated, I still have the issue. Should I just submit a support ticket for quick help?
  8. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    08 Jun 2011
    Link to this post
    It's just standard asp.net, there should be no difference, aside from
    1) Putting it into an ascx
    2) Compiling the code
    3) Register the control in the backend settings
    4) Drag\Dropping it onto the page

    Instead of #3 you could also just register the control in the web.config and use it directly in the masterpage (if you have one)

    like this

    <add tagName="Toolbar" tagPrefix="ocfp" src="~/UserControls/Toolbar/Toolbar.ascx" />
8 posts, 0 answered