Assuming you are doing this server side...
1) Create a clone of the DataTable serving as source of checkbox repeater
dtClone = dtSource.Clone()
2) Loop through checkbox repeater items
If checkbox for item is checked...
a) find DataRow in source DataTable corresponding to record ID
(plunk it in a hidden field)
b) copy Row to cloned DataTable like so
dtCloned.Rows.Add(drSource.ItemArray)
3) Bind "selected" repeater control to cloned table
On 9/21/05, bh0526 <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have a web page with 2 repeaters on it. I bind the first repeater
> to a data source. I also have a checkbox control for each item in the
> repeater. My second repeater is identical to the first repeater other
> than the checkbox. What i want to do is allow the user to select
> various items in the first repeater by clicking the checkbox and then
> click a button which copies the selected rows to the second repeater.
> I have not had much luck doing this. Can anyone help? Let me know if
> you want me to post my code.
>
> Thanks,
> Bob
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
--
Dean Fiala
Very Practical Software, Inc
http://www.vpsw.com
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/