Can we use Jquery Timepicker / date picker in custom entity

Hi Team,

Can we use the Jquery timepicker / date picker in a custom entity ASP page.
I tried using them and the extensions do not work. I have time field in my custom entity and it should be displayed as shown below.

This works on HTML pages but not on CRM custom page. I believe CRM javascripts have some issue with registering the timepicker Jquery extensions.

If any of you have faced any similar issues and resolved them do let me know.

Thanks in Advance.

Regards

Suresh

  • 0

    There may well be a clash between the object and variable names used in the library you have included and the libraries included in an ASP page.

    For example, if you create your page using

    CRM.AddContent(myBlock.Execute(Arg));

    Response.Write(CRM.GetPage());

    Can you get your time picker to work?

    Compare that with this older style of creating the page

    CRM.GetTabs();

    Response.Write(myBlock.Execute(Arg));

    This last page will look 'rubbish' but it will be a quick check to see if there is a clash between libraries as the older mechanism doesn't include the correct include files.

  • 0

    Thanks Jeff, This helped me, Now I have dropped the idea of using any external libraries. Using Jquery inbilt functions. For this I am able to use the Auto complete function to display the list and validate :)