Select Checkboxes in Datagrid and preview in new window

A

Angela

Hi

I have a datagrid with checkboxes besides a list of names.

What I want is for the user to select the checkboxes and press 'Preview'
and a new window opens with a print friendly list of the selected
contact details.

I can get the selected IDs via my server side code but can't target a
new window to open.

So I thought of using Javascript and concatenating the IDs (e.g.
2,4,6,8) and do a window.location = '...' but the checkboxes in the
datagrid do not have IDs associated with them.

Can I get the datagrid checkbox have the value of the contact IDs? Is
there a better way of achieving the above?

Thanks
Angela
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top