Copied to clipboard

Flag this post as spam?

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


  • Adriano Fabri 469 posts 1633 karma points
    Jul 15, 2010 @ 16:16
    Adriano Fabri
    0

    Problems with new datepicker (JQuery UI)

    Hi,

    I'm using in my actual project release (for Umbraco 4.0.4.2) the datepicker control (server) but it is not compatible with Umbraco 4.5 because in this new release I must use jquery.

    I don't know very well JQuery and I did'nt found any documentation about how to use the new JQuery datepicker.

    I'm trying to do some tests and I would to ask if there are anybody who can help me to understand what I must do to do that?

    Thanks
    AF

  • Adriano Fabri 469 posts 1633 karma points
    Jul 17, 2010 @ 00:46
    Adriano Fabri
    1

    Problem solved.

    first I must register the UICONTROLS with this line:

    <%@ Register TagPrefix="cc1" Assembly="controls" Namespace="umbraco.uicontrols" %>

    and after I can use the datepicker control with this code:

    <cc1:DatePicker.DateTimePicker id="dtpckrDateFrom" runat="server" ShowTime="false" />

    The "ShowTime" is a true/false property you can use if you want to set also the time.

    By

    AF

Please Sign in or register to post replies

Write your reply to:

Draft