Custom Field Definition? - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Custom Field Definition?

  • Custom Field Definition?
  • Hello,

    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?

  • 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 >>