Hi All
I am creating a custom field type for sharepoint list.
I created the custom field by inheriting the sharepoint base field SPFieldMultiLineText. I‘ve also created a custom field property
“SearchPath” as follows…
private string _searchPath
public string SearchPath
{
get
{
return _ searchPath;
}
set
{
this._ searchPath = value;
}
}
for rendering custom property I have created an .ascx file along with a code-behind inherited from User Control and IFieldEditor.
I could able to access and modify the custom property from within the methods InitializeWithField() and OnSaveChange().
I have created another .ascx file and a code-behind file as Field rendering Usercontrol inherited from BaseFieldControl
for providing UI for data entry into the listt. I want to implement
some logic during this data entry based on the custom field’s
additional property value.
But my problem is I could not access the custom property of my custom field class from within the Field Rendering User control.
How I can access the custom field’s custom property values within the field rendering usercontrol?
Please help me.
Arun