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 

Parents
No Data
Reply
  • 28464
    posted

    Hello Andy,

    Well, it really depends on how you implement ajax. Are you using a third party AJAX library, or the built-in asp:ScriptManager / asp:UpdatePanel combo? Or our own equivalent for that - WebAsyncRefreshPanel?

    I am not sure if 7.2 provides support for that (maybe this is available in the release notes), but I have several suggestions that may alleviate the problem

    1. If you are using UpdatePanel, try using ig:WARP panel and see if this hepls

    2. Use triggers mechanism of UpdatePanel, so that the actual WebDataPickers are outside the UpdatePanel, but can still trigger the update using the Triggers functionality of UpdatePanel

    3. Try with the latest trial 8.2 release (I know that you may not be able to use that in production, but still, this will isolate the problem to some extent and we will know with better details where it is.

    Hope this helps. 

Children