how to get or set ItemPicker control value

Category: sharepoint 2010 programming


matejv on Thu, 09 May 2013 07:09:18

Using code as solution in this thread ..

peClient = new PickerEntity();
    peClient.DisplayText = item["Client"].ToString();
    peClient.Key = item["dbo_x002e_Customer_ID"].ToString();

I get NullReferenceException: Object reference not set to an instance of an object. when debuger hits the bdcClientSelector.ValidateEntity(peClient)

ItemPicker control is set up correctly since i can pick any value from Item Picker Dialog and it fills the control with selected item if i do it manually in browser...

I tried putting inside of Run with elevated privileges ... it's the same. Any advice on this one ?

I am trying on this forum aswell since on is no response ..


David Uru on Fri, 06 Oct 2017 14:23:35


I am having the same problem. Have you been able of solve this error?

Please, help me because I cannot solve it.

Thank you very much.

Best regards,