Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Select Checkboxes in Datagrid and preview in new window

Thread Tools

Select Checkboxes in Datagrid and preview in new window

Posts: n/a

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, 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?


*** Sent via Developersdex ***
Don't just participate in USENET...get rewarded for it!
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
Preview: Dystopia Preview Silverstrand Front Page News 0 02-05-2006 03:15 AM
Using Checkboxes Within the DataGrid Control to Select Records sianan ASP .Net 5 10-27-2005 01:25 AM
implement "select all" button to select all checkboxes Matt ASP General 2 01-11-2004 01:08 PM
How to select all or deselect all checkboxes in datagrid... Al Knowles ASP .Net Datagrid Control 0 12-01-2003 06:22 PM
Datagrid Heading (Text - Clickable) and Row Elements (checkboxes) = Select All Feature BTHOMASinOHIO ASP .Net Datagrid Control 2 11-13-2003 10:54 PM