More in this section
Forums / Sitefinity SDK / Custom Field Definition?

Custom Field Definition?

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Saad
    Saad avatar
    98 posts
    10 Oct 2008
    08 May 2011
    Link to this post

    I was wondering if I could get a basic sample for of custom field for file upload to add in Products module.
    I tried following but did not succeed:
    - Creating CustomFieldElement inherting FieldControlDefinitionElement 
    - Created an interface ICustomFieldDefinition inherting IFieldControlDefinition
    - Created CustomFieldDefinition inherting FieldControlDefinition and implementing interface ICustomFieldDefinition
    - Finally, created CustomField inherting FieldControl defining my template (.ascx) and script (.js) files path.

    But I am unable to make up even a simple basic field in Products module at backend.

    I need to upload a file and view already uploaded files in view mode. Can anyone provide me a simple code for custom field control?

  2. Slavo
    Slavo avatar
    295 posts
    24 Sep 2012
    17 May 2011
    Link to this post
    Hello Saad,

    The sample that you can find here contains a custom field which you can take a look at. What are the problems you have? I'm afraid I cannot help with more specific information.

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

2 posts, 0 answered