A
Alan Silver
Hello,
I am using a repeater on a page, and on postback would like to get hold
of the ArrayList that I used to populate the repeater. I thought that I
should be able to do something like...
ArrayList arrStuff = (ArrayList)rptStuff.DataSource;
but this comes back as null. I bound the repeater to an ArrayList when
the page first loaded.
Any idea why I can't do this? The SDK seems to imply you can read as
well as set the DataSource.
TIA
I am using a repeater on a page, and on postback would like to get hold
of the ArrayList that I used to populate the repeater. I thought that I
should be able to do something like...
ArrayList arrStuff = (ArrayList)rptStuff.DataSource;
but this comes back as null. I bound the repeater to an ArrayList when
the page first loaded.
Any idea why I can't do this? The SDK seems to imply you can read as
well as set the DataSource.
TIA