search
Japanese Chinese Nederlands Espanol Italiano Deutsch Francais Twitter Rss Feeds
MicrosoftArticlesForumsFAQs
C# .NET
VB.NET
Visual Studio .NET
ADO.NET
Xml / Xslt
VB 6.0
.NET CF
GDI+
LINQ
Deployment
Security
FoxPro
Silverlight / WPF
Entity Framework
RIA Services

Web ProgrammingArticlesForumsFAQs
JavaScript
ASP
ASP.NET
Web Services

Non-MicrosoftArticlesForumsFAQs
NHibernate
Perl
PHP
Ruby
Java
Linux / Unix
Apple
Open Source

DatabasesArticlesForumsFAQs
SQL Server
Access
Oracle
MySQL
Other Databases

OfficeArticlesForumsFAQs
Excel
Word
Powerpoint
Outlook
Publisher
Money

Operating SystemsArticlesForumsFAQs
Windows 7
Windows Server
Windows Vista
Windows XP
Windows Update
MAC
Linux / UNIX

Server PlatformsArticlesForumsFAQs
BizTalk
Site Server
Exhange Server
IIS

Graphic DesignArticlesForumsFAQs
Macromedia Flash
Adobe PhotoShop
Expression Blend
Expression Design
Expression Web

OtherArticlesForumsFAQs
Subversion / CVS
Ask Dr. Dotnetsky
Active Directory
Networking
Uninstall Virus
Job Openings
Product Reviews
Search Engines
Resumes

 

View Other Visual Studio .NET Posts   Ask New Question 
And how to collect the checked items
Aldo Lin Lin posted at Monday, September 08, 2008 12:56 AM

Asp.net vb.net

Can I add check box in radComboBox, if Yes how to add

And how to collect the checked items


 
  hmm...
egg egg replied to Aldo Lin Lin at Monday, September 08, 2008 1:03 AM

First of all I am not sure what you are trying to achieve on this and your requirement...

The basic purpose of checkboxes and radiolist are different the former being for selection of any of those and the later one for only one among many...

Hence, this is not possible on the radiocombobox to have checkbox...

 
  Answer to Get Selected Values From a CheckBoxList in C#
Binny ch replied to Aldo Lin Lin at Monday, September 08, 2008 1:07 AM
// Get Values from CheckBoxList
String values = "";
for (int i=0; i< cbl.Items.Count; i++)
{
        if(cbl.Items[i].Selected)
        {
                values += cbl.Items[i].Value + ",";
        }
}
                       
values = values.TrimEnd(',');
 
  datagrid with checkbox
gnanam gnanam replied to Aldo Lin Lin at Monday, September 08, 2008 3:05 AM

checkbox ch;

int count;

for(int i=0;i<dggrid.items.count;i++)

{

 ch = dggrid.items[i].findcontrols("checkItem");

if(ch == checked)

{

  count =count+1;

}

}

respone.write(count);

 

checkItem --->Checkbox id