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
349
Date Chooser Ajax problems
posted

Hi Guys,

 I'm working on a project bequeathed to me by previous employees, that I am trying to improve. The application started off in .NET 1.1 and has been migrated to .NET 2.0 in the mists of time and all infragistics controls have undergone a number of migrations, currently they are in version 7.2.

I'm currently trying to add Ajax into suitable locations just for the old show hide prompts tricks really. and I have a problem like this:

 I've got a 2 date pickers that I show/hide according to various search types. eg. The flow is like this:

1.) By default I'm doing a search by incident date so I show both from and to date which are infragistics date pickers,

2.) Then I have a search by employee forename, so my datepickers are hidden in Ajax.

3.) Then I return to my date pickers and the javascript to cause window popups doesn't work.

Now I've recently completed a .NET 2.0 app. where this worked successfully, however this app. started life in .NET 2.0 and Infragistics 7.2.

All other Ajax appears to work successfully once I removed the following setting from the web.config:

<xhtmlConformance mode="Legacy"/> - Don't forget this if your Ajaxing, it took me some time to find it.

 Do you have any suggestions/helpful anecdotes and the like?

Thanks,

Andy