473,387 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

CheckBox inside a ListViewSubItem

2G
Helloo,

Is there anyway to do this or do I need to create a custom listview for
this?

Thanks.
Nov 16 '05 #1
2 2145
2G wrote:
Is there anyway to do this or do I need to create a custom listview for
this?


No problem,

this.listView1 = new System.Windows.Forms.ListView();
this.listView1.CheckBoxes = true;

Cheers

Arne Janning
Nov 16 '05 #2
2G
Thanks for the reply but please read the subject again , "subitem", I need
more checkboxes in one item

"Arne Janning" <sp*****************@msn.com> wrote in message
news:eU**************@TK2MSFTNGP11.phx.gbl...
2G wrote:
Is there anyway to do this or do I need to create a custom listview for
this?


No problem,

this.listView1 = new System.Windows.Forms.ListView();
this.listView1.CheckBoxes = true;

Cheers

Arne Janning

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Randal Chapman | last post by:
Hi. I have a custom class which inherits from ListViewItem.ListViewSubItem. It works fine to add new subitems to a listview, but when I try and get them out it tells me that it is an invalid...
0
by: mehul | last post by:
CheckBox template always evaluate to False even if checked in a DataGrid hosted inside a TabStrip in ASP.NET Hi, I am trying to develop an ASP.NET application. I am using TabStrip (which is...
5
by: DotNetJunkies User | last post by:
1. i want to populate checkboxlist using javascript only at client side ....how can i do this..by populate word i mean that checkboxes should be checked or unchecked on some condition basis.......
0
by: Karsten Sosna | last post by:
Hallo NG, I have a problem with the ListView-Control. I add a ListViewItem(LVI) with a ListViewSubItem(LVSI_Status) to my ListView(ListView1). Then i want to change the the Value of the...
4
by: Paul Morrison | last post by:
Hi, I have a checkbox array containing the id of a record in a MySQL database. The checkboxes are created dynamically depending on what is stored in the database. I want to send the checkbox...
1
by: rn5a | last post by:
A ASPX page has a DataList control with a few Labels. This page also has a CheckBox which resides OUTSIDE the DataList. By default, this CheckBox is checked. If the CheckBox is checked, then the...
0
by: remya1000 | last post by:
I have a field called Departments in my database. and I have 3 monitors. So when Page_Load, I need to check number of departments I have in database. And depends upon that number of departments I...
0
by: creejohn | last post by:
Hi all-- I'm really stumped here. I have a (c# 2.0) calendar control that loads a menu for each day inside the cell corresponding to that day in the dayrender event. That is all working great. I...
3
by: Klaudiusz Bryja | last post by:
Hi, I have some problem. I try to get ListViewSubItem type using: Type t = (new Form).GetType().Assembly.GetType("System.Windows.Forms.ListViewItem.ListViewSubItem") but I get t == null. I...
1
by: iderocks | last post by:
Hi All, I created a dynamic checkbox in ASP .Net inside a Button1_Click event method (outside the page_load event) and performed the event handling method for the CheckedChanged event and when I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.