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

Forums / Developing with Sitefinity / Image Gallery Slide Show??

Image Gallery Slide Show??

10 posts, 0 answered
  1. Mike
    Mike avatar
    221 posts
    Registered:
    19 Aug 2008
    02 Dec 2008
    Link to this post
    On the online demo on the SiteFinity website there is a slide show of images from the image gallery. is this a control that comes with SiteFinity?

    Duncan
  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    08 Dec 2016
    03 Dec 2008
    Link to this post
    Hello Duncan,

    I assume you mean Image Gallery control on the home page of Sitefinity demo. It represents a user control (\TIUSite_v3.5_SP1\UserControls\HomeGallery.ascx) which is shipped with the TIU sample site. For details how to set the sample site refer to our User Manual > Installation and Deployment > Getting Started with the Sample Site .

    Do let us know if you need any further assistance.

    Regards,
    Pepi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Ahmed Salman
    Ahmed Salman avatar
    31 posts
    Registered:
    13 Apr 2010
    27 Apr 2010
    Link to this post
    Dear sir,

       From where i will get this control "\TIUSite_v3.5_SP1\UserControls\HomeGallery.ascx) "

    the link below is not working
  4. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    27 Apr 2010
    Link to this post
    Hi Ahmed Salman,

    In Sitefinity Project Manager click Explore Sample Site link and the Project Manager will create a copy of the TUI demo site on your machine. Then you can go to [yourpathto]Telerik\Sitefinity3.7\WebSites\TIUSite_v3.7_SP3\UserControls  and find the control and source there. Attached is an archive of all user controls used on the demo site.

    All the best,
    Radoslav Georgiev
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
  5. Ahmed Salman
    Ahmed Salman avatar
    31 posts
    Registered:
    13 Apr 2010
    27 Apr 2010
    Link to this post
    *  i add all the controls to my "UserControls" folder but when i add the "HomeGallery.ascx" i can not see the images


    * can you send me the full demo project.
  6. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    27 Apr 2010
    Link to this post
    Hi Ahmed Salman,

    You already have the demo project - do as I have suggested in my previous post. In the Project Manager select Explore sample site and you will get a local copy of the demo site containing all those controls.

    Greetings,
    Radoslav Georgiev
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
  7. Ahmed Salman
    Ahmed Salman avatar
    31 posts
    Registered:
    13 Apr 2010
    28 Apr 2010
    Link to this post
    Dear sir ,

        i try to add new project with the "Explore sample site " but i do not have this template on list that i have on  my screen.

    please review the attached file .

  8. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    28 Apr 2010
    Link to this post
    Hello Ahmed Salman,

    I attached the TIU website sample, so you could install it as a separate project and observe it.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
  9. Ahmed Salman
    Ahmed Salman avatar
    31 posts
    Registered:
    13 Apr 2010
    11 Jul 2010
    Link to this post
    Dear sir,

        i try the sample and it was working fine.

    but when i add "ar" language because my site use en, ar .
    then i can not see the images ???

    please help me to resolve this issue.
     
  10. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    14 Jul 2010
    Link to this post
    Hi Ahmed Salman,

    You need to replace the HTML img control inside \TIUSite_v3.7_SP3\UserControls\HomeGallery.ascx with a server control as shown below

    <%@ Control Language="C#" AutoEventWireup="true" CodeFile="HomeGallery.ascx.cs" Inherits="UserControls_HomeGallery" %>
     
    <div class="Rotator">
        <telerik:RadRotator
            DataSourceID="XmlDataSource1"
            runat="server"
            id="RadRotator1"
            width="270"
            height="310"
            >
            <ItemTemplate>
             
           <asp:Image runat="server" ID="Image"
            ImageUrl='<%# String.Format("~/Images/HomeGallery/{0}", XPath("Image")) %>'
            CssClass="RotatorItem" AlternateText="Customer Image"/>
           </ItemTemplate>
        </telerik:RadRotator>
        <div class="RotatorControl">
            <a href="#" onclick="($find('<%= RadRotator1.ClientID %>')).showNext(Telerik.Web.UI.RotatorScrollDirection.Right);return false;"
                        class="RotatorPrev">Previous</a>
            <a href="#" onclick="($find('<%= RadRotator1.ClientID %>')).pause();
                                    this.style.display = 'none';
                                    document.getElementById('<%= RadRotator1.ClientID %>Start').style.display='block';
                                    return false;"
                        class="RotatorStop"
                        id="<%= RadRotator1.ClientID %>Stop">Stop</a>
            <a href="#" onclick="($find('<%= RadRotator1.ClientID %>')).resume();
                                    this.style.display = 'none';       
                                    document.getElementById('<%= RadRotator1.ClientID %>Stop').style.display='block';return false;"
                        class="RotatorStart"
                        id="<%= RadRotator1.ClientID %>Start">Start</a>
            <a href="#" onclick="($find('<%= RadRotator1.ClientID %>')).showNext(Telerik.Web.UI.RotatorScrollDirection.Left);return false;"
                        class="RotatorNext">Next</a>
            <a href="~/AboutUs/Gallery.aspx" runat="server" class="ViewGallery">View Gallery</a>
        </div>
         
    </div><!-- Rotator -->
    <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/UserControls/HomeGalleryContent.xml"></asp:XmlDataSource>


    All the best,
    Ivan Dimitrov
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
10 posts, 0 answered