Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
i am displaying the images in datalist by getting the data from the database.here the images in datalist will scroll horizontaly,i had 5 images in database.while displaying it is displaying 5 images but after completing of the 5 images cycle only it is displaying the first image.here i want to display the images continuously.
Posted 26-Dec-12 17:37pm
ntitish1.4K
Edited 26-Dec-12 18:12pm
v5
Comments
Sergey Alexandrovich Kryukov at 26-Dec-12 23:41pm
   
Is it a question?
—SA
ntitish at 27-Dec-12 0:08am
   
sir i modified the question did u get the question....
Krunal Rohit at 26-Dec-12 23:49pm
   
Not a proper question.. You should provide your code.. :)
ntitish at 26-Dec-12 23:59pm
   
<tr><td><asp:Panel ID="panelDisplayGallery" runat="server" >
 
<asp:Label ID="lblAvailablePhotos" runat="server" Text="Available Photos:"
Visible="False">
 
<asp:Panel ID="panelslideshow" runat="server" Height="170px" BackColor="#CCCCCC" EnableViewState="False">
 
<marquee direction="left" onmouseover="this.stop();" önmouseout="this.start();" scrolldelay="10" loop="-1">
 
<asp:DataList ID="datalstGalleryDisplay" runat="server" RepeatDirection="Horizontal"
Font-Name="Verdana" Font-Size="8pt"
CellSpacing="5" Item-BorderWidth="1" Item-BorderColor="#c0c0c0"
BorderStyle="None" ItemStyle-Width="125"
CellPadding="0" ItemStyle-HorizontalAlign="Center"
ItemStyle-VerticalAlign="Bottom" GridLines="Both"
ItemStyle-BorderStyle="Solid" onitemdatabound="datalstGalleryDisplay_ItemDataBound" >

 
<asp:Image ID="imageGallery" Width="150px" Height="150px" runat="server" onmouseover="zoomIncrease();" onmouseout="zoomDecrease(); />




</marquee>


</td></tr>
Sergey Alexandrovich Kryukov at 27-Dec-12 0:47am
   
Why? If you show the code, do in in the body of the question. Enclose it in "pre" tags.
—SA
ntitish at 27-Dec-12 0:15am
   
bro i modified the question. i think so u will get this one...
ntitish at 26-Dec-12 23:54pm
   
if u know the answer say yes other wise...
i think so you not get the question. i am displaying the images in datalist by getting the data from the database.here the images in datalist will scroll horizontaly,i had 5 images in database.while displaying it is displaying 5 images but after completing of the 5 images cycle only it is displaying the first image..here i want to display the images continuously.
Christian Graus at 27-Dec-12 0:08am
   
WE kind of get the question. The issue is, you posted an over long subject, an over short question, code in a comment ( so it's hard to read ) and no real detail of what you've tried or what is going wrong. If you want help, try to do better at asking clear questions.
ntitish at 27-Dec-12 0:13am
   
sir i changed the question and below u can see the code for that...
Krunal Rohit at 27-Dec-12 0:18am
   
set the cell spacing = 1
ntitish at 27-Dec-12 0:22am
   
bro i am displaying the images in marquee in horizontal direction successfully but after completing of full cycle only it is displaying the first image. but i want to connect the first image and last image.then it will display like continuous images.
ntitish at 7-Jan-13 4:37am
   
i want to know whether there will be a click event of menu control. because in my website i used menu control for displaying menus and i am displaying four alert panels below the menu control. here i want to display only three panels according to the click event of menu item will it possible.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Or else you can set Marquee behavior = "alternate"
  Permalink  
Comments
ntitish at 27-Dec-12 0:41am
   
bro i not get the write answer but this also good.and one more dought i want to display the image after clicking on the particular image it should display the full image like how we see in google images.is it possible.
Krunal Rohit at 27-Dec-12 0:50am
   
http://www.dynamicdrive.com/style/csslibrary/category/C4/
ntitish at 27-Dec-12 1:14am
   
the website was awesome bro.thanks once again
Krunal Rohit at 27-Dec-12 1:15am
   
answer accepted and downvoted as well, how ?
ntitish at 27-Dec-12 1:40am
   
i cant get you.....
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

I see a loop property on your marquee tag. I'm guessing that -1 won't cause it to loop ?
  Permalink  
Comments
ntitish at 27-Dec-12 0:24am
   
sir actually i tried that sir but it is not working.i forget to delete that.but for binding the images from database i used for loop in .cs code.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 365
1 Nirav Prabtani 252
2 Richard Deeming 215
3 CHill60 170
4 _Amy 145
0 OriginalGriff 8,104
1 Sergey Alexandrovich Kryukov 7,045
2 Maciej Los 4,039
3 Peter Leow 3,738
4 CHill60 2,912


Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 27 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100