Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / September 2007

Tip: Looking for answers? Try searching our database.

using repeater????

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pelegk1 - 08 Sep 2007 20:34 GMT
i have this part of htmlcode in my apsx page:
[code]
<div class="gamesRow" id="Div1">
                        <h1>test11111</h1>
                        <ul class="items clearfix">
                            <li class="green"><div></div><a href="#" class="image"><img
src="images/gamezone/temp.jpg" alt="" title="This is some gam1e, some long
text and very long sentence.." /></a><a href="#" class="text">Game
Title</a></li>
                            <li class="orange"><div></div><a href="#" class="image"><img
src="images/gamezone/temp.jpg" alt="" title="This is some game2" /></a><a
href="#" class="text">Game Title</a></li>
                            <li class="blue"><div></div><a href="#" class="image"><img
src="images/gamezone/temp.jpg" alt="" title="This is some game3" /></a><a
href="#" class="text">Game Title</a></li>
                            <li class="purple"><div></div><a href="#" class="image"><img
src="images/gamezone/temp.jpg" alt="" title="This is some game4" /></a><a
href="#" class="text">Game Title</a></li>
                            <li class="red"><div></div><a href="#" class="image"><img
src="images/gamezone/temp.jpg" alt="" title="This is some game5" /></a><a
href="#" class="text">Game Title</a></li>
                        </ul>
                        <div class="bottomRow clearfix">
                            <a href="#" class="exitBtn"></a>
                            <ul class="pager">
                                <li class="active">1</li
                                ><li>2</li
                                ><li>3</li
                                ><li>4</li
                            ></ul>
                        </div><!-- end bottomRow  -->
                        <div class="seperator"></div>
                    </div><!-- end gamesRow  -->
[/code]

what i am trying to build here is a
<TITLE>
<img1>...<img5>
<paging1>..<paging(i)>

which mean's :
i have a block of div that repeat itself,
it contians a title,
images can be show up to 5 (but if there are less then show less then 5,and
if there are more then 5 show only 5 first)
and paging - means put nuumber for paging where assumed 5 images per page!

and this structre can repeat itself - how can i do this?
thnaksi n advance
peleg
Teemu Keiski - 09 Sep 2007 14:12 GMT
Repeater with PagedDataSource is good start if you need strict control of
the markup.

Signature

Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

>i have this part of htmlcode in my apsx page:
> [code]
[quoted text clipped - 47 lines]
> thnaksi n advance
> peleg
pelegk1 - 09 Sep 2007 18:16 GMT
can you give more detilaed info?

> Repeater with PagedDataSource is good start if you need strict control of
> the markup.
[quoted text clipped - 50 lines]
> > thnaksi n advance
> > peleg
Teemu Keiski - 10 Sep 2007 18:26 GMT
Hi,

http://www.codeproject.com/useritems/paging.asp

Signature

Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

> can you give more detilaed info?
>
[quoted text clipped - 58 lines]
>> > thnaksi n advance
>> > peleg

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.