DataObj parameter in CustomHandler seems to be of type SimpleDataClass not DataClass

[CMSAbstractTransformation.DataBind]: Object reference not set to an instance of an object.

Martin Dobsicek asked on October 23, 2009 08:11

DataObj parameter in CustomHandler seems to be of type SimpleDataClass not DataClass

Correct Answer

Martin Dobsicek answered on October 23, 2009 08:11

The 'dataObj' object can be both of DataClass and SimpleDataClass class in according to circumstances. Could you please check the class first and then re-type the object to appropriate class? Please see example at http://msdn.microsoft.com/en-us/library/scekt9xw.aspx

0 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.