Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > binding user control to Repeater web control

Thread Tools

binding user control to Repeater web control

Posts: n/a

I have designed a user control which exposes properties
for data binding in the containing web page, and I want
to use the Repeater web control in the containing web
page to display all the data in the format of the user
control mentioned above because the data might need many
of the user control I designed to show to user.

How can I do that?

I know Repeater usually use something like:
<%# DataBinder.Eval(Container.DataItem, "Body") %>
for data displaying.

I replaced "Body" with "". It does not work.

Any suggestions are welcome.


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Initialization of a Web User Control inside Repeater Control satyajit ASP .Net 2 08-21-2007 03:03 PM
Repeater control in a web user control bill ASP .Net 4 04-05-2006 05:46 PM
Binding a DataSet to a web server repeater control Jon S via ASP .Net 1 02-15-2006 12:26 PM
Web User Control with GridView can derive new Web User Control? ABC ASP .Net 1 10-04-2005 12:29 PM
binding user control to repeater web control MeiMei ASP .Net 0 01-20-2004 12:00 AM