Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Stig Kulvedrøsten 48 posts 69 karma points
    Jan 31, 2012 @ 12:05
    Stig Kulvedrøsten
    0

    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

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Jan 31, 2012 @ 12:31
    Jeroen Breuer
    0

    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

  • Stig Kulvedrøsten 48 posts 69 karma points
    Jan 31, 2012 @ 16:20
    Stig Kulvedrøsten
    0

    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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies