Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
WebDateTimePicker not responding
posted

Hi,

I have an issue with webDateTimePicker

 

I'm using infragistics4 v11.1

 

I have a web form and I'm using two webDateTimePicker. When I run application on localhost it runs perfectly, but when I copy files (libraries and folder ig_res) to a remote server and then I try to show my web page, both webDateTimePicker don't respond when I click on them, then I put the mouse over the control and it shows a tooltip with "{0}".

 

I've been searching information, but I couln't find anything about.

 

Am I missing some file or some code that is needed to add on my project? I hope you can help me.

 

Regards

 

Parents
No Data
Reply
  • 24497
    posted

    Hi Juan,

    What you described is not related to ig_res, but to failure to create javascript object which is used by WebDatePicker on client. There are 2 things are possible:

    1. js files used by control are not loaded. By default they are loaded from embedded resources of dll.
    2. Initialization java scrip fails.

    Functionality of any Infragistics.Web.UI (or WebUI) control works similar way.

    If you look at source of generated html then somewhere at the top you will find multiple script objects generated by server for embeded resources for ScriptManager and Infragistics controls. They may appear like:

    <script src="/YourWebSite/ScriptResource.axd?d=Nb1o..." type="text/javascript"></script>

    At the bottom of page, you should find initialization scripts for all javascript controls including WebDatePicker. They may appear like:

    Sys.Application.add_init(function() {
        $create(Infragistics.Web.UI.WebDatePicker, {"id":"WebDatePicker1",...);
    });
    Sys.Application.add_init(function() {
        $create(Infragistics.Web.UI.WebMonthCalendar, ...));
    });

    If those lines are there, but control does not work, then it can be security or similar issue.

     

Children