|
-
Apr 8th, 2003, 11:13 AM
#1
Thread Starter
Addicted Member
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
-
Apr 8th, 2003, 12:49 PM
#2
PowerPoster
Are you in flow layout or gridlayout?
Might be able to use div tags to position it.
-
Apr 8th, 2003, 12:56 PM
#3
Thread Starter
Addicted Member
not sure of the difference. I am in the default for the IDE if that helps.
Soylent Green tastes like chicken
-
Apr 8th, 2003, 12:57 PM
#4
Thread Starter
Addicted Member
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
-
Apr 8th, 2003, 01:41 PM
#5
PowerPoster
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.
-
Apr 8th, 2003, 01:54 PM
#6
Thread Starter
Addicted Member
good tip
I used your div idea and layout is mucho nicer now
Thanks
Soylent Green tastes like chicken
-
Apr 8th, 2003, 03:08 PM
#7
PowerPoster
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|