User, Repeater and objectdatasource controls

  • 14 years ago
    hi
     
    I am trying to repeat a user control within my page. Basically the idea is to show a list of products with pictures etc. Each product in the list is a user control (for styling purposes, etc)
     
    I have an objectdatasource which is declared on the page with the repeater control and the repeater control is bound to it.
     
    What I want to do is show each individual product by passing a product object to the user control to fill in the information of the various labels, etc.
     
    Anyone have any idea how to get the object into the user control? Or is there a better way of doing this (not a datagrid)?

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Computer Science is no more about computers than astronomy is about telescopes.” - E. W. Dijkstra