Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Checkbox Template Column will not display

Thread Tools

Checkbox Template Column will not display

Posts: n/a
I am connected to an Access Database.
I am reading a Yes/No field from the DB
which translates back as True/False in
the text field of my datagrid.
I want to use a checkbox to show the
value instead of text.
I have set up the template column using
the datagrid properties wizard.
Within "Edit Template" mode I have
put two checkboxes into the "Item Template"
and "Edit Item Template" fields.
Under the "Data Bindings" screen I have
selected "Checked" as the bindable property.
Under "Binding for checked" on the same
screen I have selected "Container,Data Item,"
and the field I want.
When I run the ap., there are no checkboxes
displayed on the form.
I don't understand what is causing them to
not be displayed.

Interestingly enough, I tried adding a column
and using the make into template option to
examine the settings in template edit mode.
This displays, but I don't see any differences
between the settings in this mode and the
settings I am using.

Any thoughts on why the checkboxes don't
display? Thanks!

Will Cooper
Application Programmer
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
CheckBox unchecked status detection in DataGrid Template Column Javier ASP .Net 2 12-12-2005 05:16 PM
choosing to display or not to display a checkbox in repeater control. Imran Aziz ASP .Net 4 08-11-2005 05:00 PM
DataGrid control with checkbox template column Ryan Lafferty ASP .Net 2 08-08-2005 05:16 PM
Checkbox in a template column Eric Caron ASP .Net 1 10-01-2004 06:27 AM
Convert an MS Access Yes/No column to a checkbox column in C# datagrid Gregory Rampton ASP .Net Datagrid Control 0 08-06-2003 04:09 PM