473,385 Members | 1,673 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,385 software developers and data experts.

chkboxlist

I don't want more than 2 items checked but i don't find event where i
can stop the 3rd click

i do :
If chkBureaux.CheckedItems.Count > 2 Then

........ but where and what ?

Dec 10 '05 #1
4 1018
Are you talking about the CheckedListBox? If so, did you check the ItemCheck
event?

"ucasesoftware" <uc***********@hotmail.fr> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
I don't want more than 2 items checked but i don't find event where i
can stop the 3rd click

i do :
If chkBureaux.CheckedItems.Count > 2 Then

........ but where and what ?
Dec 10 '05 #2
ooopss thx

Dec 10 '05 #3
and with For x = 0 To chkBureaux.CheckedItems.Count - 1

where can i have access to value and displaymember ?

Dec 10 '05 #4
chkBureaux.CheckedItems(x) will give you the display text of the checked
item x.

"ucasesoftware" <uc***********@hotmail.fr> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
and with For x = 0 To chkBureaux.CheckedItems.Count - 1

where can i have access to value and displaymember ?
Dec 11 '05 #5

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

Similar topics

3
by: juststarter | last post by:
Hello, I have an aspx file where i've put a placeholder element. On load i create dynamically a table which contains a checkbox and a radiobuttonlist in each tablerow . The radiobuttonlist...
10
by: suzy | last post by:
i have generated a list of checkboxes (at runtime) using the checkboxlist control. i want to add an onclick event onto each checkbox so i can perform a count of how many items have been...
2
by: Rob G | last post by:
Hello, I have a basic understanding of Objects, inheritance, polymorhpism, etc. I am new to VB.NET and I am having a problem figuring this out. I want to sort a CheckBoxList. Using the...
4
by: juststarter | last post by:
Hello, I have an aspx file where i've put a placeholder element. On load (page_load) i create dynamically an html table which contains a checkbox and a radiobuttonlist in each tablerow . The...
7
by: ThunderMusic | last post by:
Hi, I have a CheckBoxList and I want to add some javascript code to each CheckBox created by this CheckBoxList. I tried iterating through all items of the list, all the controls, do a FindControl,...
5
by: stephen | last post by:
Hi, I have a place holder and I have a checkboxlist in it? why do i get a "System.NullReferenceException: Object reference not set to an instance of an object." error why I try to get the...
4
by: haresh.amis | last post by:
hello to all, I m using .net 2.0 and i face a problem that is as under Well I have a checkboxlist which i bound in .cs page now I want to count that how many checkboxes ate checked ( In...
0
by: Jason Hartsoe | last post by:
i've tried to add an onchange event to my checkboxes(created dynamically) chkboxlist.attributes.add("onchange", "dothat();") but it renders the onchange to the table it creates and not to the...
1
by: Jason Hartsoe | last post by:
i've tried to add an onchange event to my checkboxes(created dynamically) chkboxlist.attributes.add("onchange", "dothat();") but it renders the onchange to the table it creates and not to the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.