Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

asp.net listbox disable selection

var items = from ListItem li in ListBox1.Items
                    select li;

        foreach (ListItem li in items)
        {
            li.Attributes.Add("disabled", "disabled");
        }
Comment

PREVIOUS NEXT
Code Example
Csharp :: convert from data adapter to Ienumerable C# 
Csharp :: unity error log 
Csharp :: concatenate two lists in c# 
Csharp :: static constructor in c# 
Csharp :: c# clear panel 
Csharp :: add header in action asp.net mvc 
Csharp :: how to pass function as paraemter of another function pythpn 
Csharp :: dctionary literal c# 
Csharp :: how to instantiate and delete unity 
Csharp :: c# bool list count true 
Csharp :: selenum wait for element c# 
Csharp :: c# anonymous type as return value 
Csharp :: c# convert xml to list string 
Csharp :: unity screen size fix 
Csharp :: c# method 
Csharp :: c# template strings 
Csharp :: implicit vs explicit cast c# 
Csharp :: DateTime restrictions 
Csharp :: c# dapper execute stored procedure with parameters 
Csharp :: c# how to return a function 
Csharp :: C# date type no time 
Csharp :: c# int to short 
Csharp :: f sharp global variable 
Csharp :: dynamics 365 create record c# 
Csharp :: scale min max to 0 1 
Csharp :: html inside razor 
Csharp :: how to do division with button C# 
Csharp :: delegate 
Csharp :: mvc input number rounding 
Csharp :: Alll select options unselectable 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =