Results 1 to 7 of 7

Thread: data repeater position****resolved*****

  1. #1

    Thread Starter
    Addicted Member Halon's Avatar
    Join Date
    Oct 2002
    Location
    under desk choking on rage
    Posts
    228

    data repeater position****resolved*****

    Anybody know if you can set the position of a datarepeater on an asp.net page. It seems to be bound to the top left corner and will not allow itself to be moved.

    I can switch to html view, add a style property to the repeater and it moves it in design view but this throws an error once run.

    Any tips or ideas?

    Thanks
    Last edited by Halon; Apr 8th, 2003 at 01:54 PM.
    Soylent Green tastes like chicken

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Are you in flow layout or gridlayout?

    Might be able to use div tags to position it.

  3. #3

    Thread Starter
    Addicted Member Halon's Avatar
    Join Date
    Oct 2002
    Location
    under desk choking on rage
    Posts
    228
    not sure of the difference. I am in the default for the IDE if that helps.
    Soylent Green tastes like chicken

  4. #4

    Thread Starter
    Addicted Member Halon's Avatar
    Join Date
    Oct 2002
    Location
    under desk choking on rage
    Posts
    228
    Sorry, found it in the Document properties ... I am in grid layout. Will try some stuff in flow and get back to you.
    Soylent Green tastes like chicken

  5. #5
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    You can't customize the position of it because all it does is give you back data from the datasource. It is your job to present that data. Like if you have an ordered list, you would put the ol tag above the datareapeater control, then use the datarepeater control to create list items (li). Then after the list, you would close the ol tag.

    I hope that makes sense. A good book on the data controls for ASP.Net is the ASP.NET Data Web Controls Kick Start:
    http://www.amazon.com/exec/obidos/AS...922514-0232961

    I think it is worth it.

  6. #6

    Thread Starter
    Addicted Member Halon's Avatar
    Join Date
    Oct 2002
    Location
    under desk choking on rage
    Posts
    228
    good tip

    I used your div idea and layout is mucho nicer now

    Thanks
    Soylent Green tastes like chicken

  7. #7
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Cool, good luck on the project.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width