Custom Field Definition?

Posted by Community Admin on 05-Aug-2018 12:58

Custom Field Definition?

All Replies

Posted by Community Admin on 08-May-2011 00:00

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?

Thanks

Posted by Community Admin on 17-May-2011 00:00

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,
Slavo
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

This thread is closed