Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > user control inside a repeater - problem passing data table through a property

Thread Tools

user control inside a repeater - problem passing data table through a property

Korel Oktar
Posts: n/a
I have a user control inside a repeater. I set a property of the usercontrol
in each repeater data item. This property is used to display the data inside
the user control.

This structure works fine. However when I send a datatable through this
property I end up loosing the data table reference when an event is fired
inside the user control. I am able to store the datatable into viewstate and
use it from there when I need but this is not an efficient approach since I
store a very large data on client and increase the download times.

I can't find why my reference becomes null when an event is fired, in the
case I pass a data table / data row into the user control. Any help is much

Thank you

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
Accessing USER CONTROL which is inside Masterpagethrough Another USER Control inside normal page. Kiran More ASP .Net Web Controls 2 11-14-2006 12:58 PM
repeater inside a repeater problem. uncensored ASP .Net 0 10-25-2006 06:10 PM
dynamically writing property values to a control INSIDE of a user control? ASP .Net 2 10-01-2006 02:56 AM
Custom User Control is not rendered inside another user control in a server table. Leeor Chernov ASP .Net 2 10-16-2005 08:35 AM