This project is read-only.

Single Lookup

Lookup with only single record select.

<my:SilverCrmLookup Height="20" HorizontalAlignment="Left" Margin="150,160,0,0" Name="silverCrmLookup1" VerticalAlignment="Top" Width="203" EntityName="contact" Icon="/MySilverlightApp1;component/Images/ico_16_2.png" LookupStyle="Single" />

Get/Set Values

if (ContactLookup.Items.Count > 0)
{
   Guid contactId = ContactLookup.Items.First().Id;
   String name = ContactLookup.Items.First().Name;
}
LookupItem item = new LookupItem() { Name = name, Id = id };
ContactLookup.Items = new List<LookupItem>() { item };

Last edited May 24, 2012 at 3:38 PM by ishancns, version 9

Comments

mreizik Jan 29, 2013 at 8:19 AM 
Hi

Can you explain how to install this component ? and how to use it ?

Thanks