How to create custom property of a Custom Form Controls
Hi,
I have developed one custom form widget with designer for file Upload and submit button controls.
I need to introduce custom property like MinFileSize/MaxFileSize for my widget to restrict the file size range.
I am able to get the properties in my Edit Widget Window but it is not reflacting to the code behing.I need to put the server side validation for the Size but I am not able to get the entered value persist at codebehind.
Here I hv attached some file for referance.
Please help me out on this .
I am going to demonstrate this app to the client to purchase licence version for sitefinity.
Hello Ruchira,
This functionality is available out-of-the-box in the File upload form field.
From other hand, please check if the values of the properties could be get on the widget's initialize controls and if the values are saved correctly in the designer.
If this do not helps, please attache your widget with the designer in order to test and inspect it.
Regards,
Svetoslav Manchev
Telerik