PC Review


Reply
Thread Tools Rate Thread

DetailsView control and checkboxlist inside a template

 
 
Savvoulidis Iordanis
Guest
Posts: n/a
 
      10th Aug 2008
In VS2008, I have a DetailsView control with a checkboxlist control inside
its Edit template.
(1) I want the checkboxlist to be dynamic and display only as many
checkboxes as a user setting is configured. How?
(2) Also the column that should depict the checkboxlist selections, is a
simple character column in SSE2005, in the form of a comma-delimited string
(e.g. 1,5,7,12,23). When the DetailsView is loaded, I want each of the
corresponding checkboxes in the checkboxlist to be checked, one for each
number in the comma-delimited string. And also when updating, I want to check
each checkbox in the list and reproduce a comma-delimited string to save it
in the database.

Which events inside the DetailsView should I use and how?

PS. I don't use ASP.NET's automatic features for updating for the
DetailsView. The control is always in Edit Mode, and I act based on custom
command button events inside the templates to do my job.

TIA
Iordanis
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
CheckboxList inside a wizard control Andy B Microsoft ASP .NET 6 8th Jan 2009 01:49 AM
Bound dropdownlist inside DetailsView control not displaying ListItem added via Insert() donet programmer Microsoft ASP .NET 0 25th Oct 2007 05:55 PM
Control in DetailsView Template Row Jim McGivney Microsoft ASP .NET 1 5th Jul 2006 06:40 PM
Problem Retrieving Values from CheckboxList nested inside Datalist Control Mike Microsoft ASP .NET 1 12th Jan 2006 08:56 PM
Checkboxlist inside Repeater - doesn't fire click event for Checkboxlist JD Microsoft ASP .NET 3 16th Jun 2004 01:57 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:37 AM.