string[] countrycode = null; countrycode = listofcountrycodes.Split(',');
dataSource.StateList.Where(s => countryCodes.Contains(s.CountryCode))
string[] countrycode = null; countrycode = listofcountrycodes.Split(',');
dataSource.StateList.Where(s => countryCodes.Contains(s.CountryCode))
$('#controlId').bind('paste', null, function(e) { if(!e.keyCode){ /* since no key was down at the time of the event we can assume it was from the toolbar or right click menu, and not a ctrl+v */ } });