How to use uComponents IncrementalTextbox in custom section?
I've got a custom section with some custom entities and in the editpage for this custom entity I would like to use the uComponents IncrementalTextBox. How can I achieve this without use of the PreValueEditor settings? I still want to be able to set the minValue, maxValue etc. on page load since they change from page_load to page_load...
No problem including the control but how can I control the prevalues from the codebehind og the page the control is on? The prevalue editor of the Incremental Textbox has no setters on the properties.
As it is now I have to go with the prevalues set in the developer section but really I dont want to specify anything on the datatype but set these values on each page_load.
How to use uComponents IncrementalTextbox in custom section?
I've got a custom section with some custom entities and in the editpage for this custom entity I would like to use the uComponents IncrementalTextBox. How can I achieve this without use of the PreValueEditor settings? I still want to be able to set the minValue, maxValue etc. on page load since they change from page_load to page_load...
Stig
Well you could just look at the source of uComponents and copy that into your custom section.
Or you can read these pages with more info about how to add datatypes to a custom section:
http://our.umbraco.org/wiki/reference/code-snippets/use-mntp-on-a-usercontrol
http://our.umbraco.org/forum/developers/extending-umbraco/6863-Datatype-on-normal-page-or-UserControl
Jeroen
No problem including the control but how can I control the prevalues from the codebehind og the page the control is on? The prevalue editor of the Incremental Textbox has no setters on the properties.
As it is now I have to go with the prevalues set in the developer section but really I dont want to specify anything on the datatype but set these values on each page_load.
Stig
is working on a reply...