Silverlight error + Cannot perform runtime binding on null reference

36 views Asked by At

In my crm application , i have an old silverlight webresource in the form of a grid which sets data in a field on the form.

However when the record is created freshly, and if the user adds data into the silverlight grid, while setting value in the crm field, it throws the error as "Cannot perform runtime binding on Null reference"

Below is the line at which it throws the error .

  dynamic att = Xrm.Page.data.entity.attributes.get("new_crmfield");

As per my understanding , it does not find the field at first, however how do i resolve this.

Please suggest.

0

There are 0 answers