Hi,
I'm using the 14.2.20142.2146 version of infragistics web controls.
If I add this line "<script type="text/javascript" src="<%: ResolveUrl("~/Scripts/jquery-2.1.1.js") %>"></script>" to the head of the page the scrollposition=-1 does not funcs but if i delete the script the scrollposition funcs.
Someone can help me? I nedd to use jquery 2.1.1
Thanks!!!!
Hi.
Thanks for using our product. I will be able to help you better, if you provide me with some more information about the problem you are experiencing, cause I cannot reproduce it. Thank you in advance.
I'm attaching you the WebDayView configuration that I'm using and I will need to confirm that you are using the same one. This is because I'm not able to reproduce the problem you are having, using the build 14.2.20142.2146, as well as on the latest code. I've also tested in all the browsers and again the scroll is positioned on the first working time slot, as it is said in the documentation. Please, if you can provide me with the code you are using and the browser you are using, this will help me. Have you used old version of our ASP.NET product, and if yes did you experience the same problem there?
Also including the jQuery should not affect the WebDayView, cause it is not dependent on it. So I will wait for your feedback cause the problem seems strange and you should not experiencing it. Thanks!
Best regards,
Nikolay Alipiev
I attached a code example that fails.
Regards
I was able to run the sample, you've sent me, and I was able to reproduce the issue you are experiencing, only in Firefox. Even then, WebDayView is scrolled in some of the cases and is not scrolled in the rest. My machine is Windows 8.1. Are you experiencing the same problem only under Firefox? I guess on the other browsers, like Chrome and Internet explorer, it is working fine? I just want to be sure that we are experiencing the same problem.
Note that if you are using Internet Explorer 8 or lower, jQuery version 2, will not be compatible with it (link).
I will wait for your confirmation and after that I will log a bug, and our team will work to remove the problem.
Thanks for the patience!
Hi again.
The problem with WebDayView in the Firefox browser, is a common problem of Firefox and the scrollTop property. It seems that in a combination with jQuery, this issues occurs. What happens is that after the WebDayView is initialized on the client, then the control is scrolled to desired position, using the scrollTop property. But only in Firefox this is not happening. It's a third-party issue and what we can propose you is a workaround. Please try the following code in your Default.aspx file:
As you see, I'm using the workaround, proposed in the StackOverflow post, and executing it, when the WebDayView is initialized on the client. I hope that this will help you resolve your case. If not, again I will ask you for more details about the browser and the OS you are using.
Thanks!!!
Problem solved.