Question
matejv on Thu, 09 May 2013 07:09:18
Using code as solution in this thread ..
http://sharepoint.stackexchange.com/questions/33520/how-to-get-or-set-itempicker-control-value/67122?noredirect=1#comment63585_67122
peClient = new PickerEntity();
peClient.DisplayText = item["Client"].ToString();
peClient.Key = item["dbo_x002e_Customer_ID"].ToString();
bdcClientSelector.Entities.Add(bdcClientSelector.ValidateEntity(peClient));
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 stackexchange.com is no response ..
Replies
David Uru on Fri, 06 Oct 2017 14:23:35
Hello,
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,
David