Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Custom Field and GetCustomProperty

  Asked By: Trenton    Date: Feb 19    Category: Sharepoint    Views: 1693

I am trying to set a property called "NumberOfLines" in a custom field
that inherits from SPFieldMultiLineText. Now, when I do the following

this.NumberOfLines = GetCustomProperty("NumberOfLines") in a method
(called Init invoked in constructor), I get "Object reference not set
to an instance of object". I made sure that I defined custom property
under PropertySchema in fldtypes*.xml file.
Please let me know if I am missing something.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Custom Field and GetCustomProperty Or get search suggestion and latest updates.




Tagged: