Link to home
Start Free TrialLog in
Avatar of kasperEH
kasperEHFlag for Denmark

asked on

Visual web part calendar doesn't work

I have developed a visual web part for SharePoint 2010, and the datepicker doesn't work in production. It works on the development server. I am using a DateTimeControl. In production, it just shows a white square instead of the calendar (see image).User generated imageIn development I get a calendar, and in production I also get a calendar when I use a standard form.
Avatar of Paul MacDonald
Paul MacDonald
Flag of United States of America image

Does this happen across all browsers on the production environment?
Avatar of kasperEH

ASKER

We mainly use Internet Explorer 11 in our company, but I have tested this page in Firefox 67.0.4, and the problem is the same, there is a blank square where the calendar should be. The date picker works fine in both browsers on the dev server and for standard forms.
Hi there! :)

Putting it simply, a website is just a set of written instructions describing the appearance and different capabilities of a website. It is subjective to the browser to render(load) it by reading the entire code of your website and producing a certain output. In addition, all browsers are programmed differently, so how it creates this certain output is different from other browsers.

As for the specifics, it could be that Mozilla Firefox cannot understand statements or variables which might not be programmed for it to understand. If that is the case, then you probably need an extension. It's just like when you are surfing the internet using certain browsers, for Chrome you will need to install vpn extensions while it may not be necessary for others as it could be built-in like for Tor Browser. It depends on how the site is built to function on what platforms as well.
Thank you for your comments, but I don't think this has anything to do with browsers. It works on the dev server for both IE and Firefox, and fails in production for both IE and Firefox.
Hi @kasperEH :)

I think we should wait for another expert to join, preferably one who could advise you on your actual web development. Apologies.
ASKER CERTIFIED SOLUTION
Avatar of kasperEH
kasperEH
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial