custom ascx control not working with Umbraco 7 - user-controls

I have a simple ascx contact us control that sends an email.
I have been using it over time to various umbraco websites running versions from 4 up to 6.1.5 and it has always worked fine. I have been also tried it with various versions of .NET without problems.
This time I updated it to .NET 4.5 and tested it and then added it in an Umbraco 7 project. It renders fine but when the submit button is pressed the page reloads without a postback and nothing happens.
There is no error message in the logs, there is no activity from the form.
The code is such that if there is an error that would be handled and shown on the screen after a postback but the form simply reloads.
I have tried all the usual checks and I can't find absolutely nothing wrong with it. Can anyone suggest why the control wouldn't work on Umbraco 7 or how to find the error that causes a full page refresh?
Thank you

You can't use usercontrols in MVC views. If you want to use usercontrols still then switch the render engine back to Webforms in umbracoSettings.config, recycle your app pool and recreate all your templates as masterpages. However, I'd advise you to redo the form in MVC. Google: SurfaceController contact form

Related

Acumatica 2018 R2 Mobile - Locks up when attempting to add a new screen

After Summit 2019, we were excited to start working on updates for 2018R2, and I practiced adding mobile screens for our custom modules in my sandbox.
We decided to fully refresh our DEV instance and reapply our customizations. No problem there, but when I try "Add New Screen" in the mobile section and then try to enter my screen number, the mouse goes to "waiting" and I can't add my new screen. Eventually, I get a "timed out" message. Same problem even when trying to add a standard Acumatica screen. Everything else in the project and Acumatica web interface seems to work fine.
Any ideas on where to look for what is preventing adding a new screen?
I'm on Build 18.209.0021.
It seems like an Ajax issue in the customization project editor. After callback to server the client page javascript is stuck waiting on the server response. You can try using Chrome browser which has less of those Ajax hangs and update Chrome if you're already using it.
There is also a known issue specifically affecting 2018 R2 Mobile that leads to generic error Sequence contains no matching element on mobile detail page. Based on your question this doesn't seem to be the issue you are having but you can give the workaround to this bug a try:
Open Generic Inquiry screen (SM208000)
Select FS-ServiceOrder inquiry, uncheck Expose to mobile and save
On Apply Updates screen (SM203510), click on Restart Application
This was identified by Acumatica support as a bug. Upgrade to a new release for the fix.

Kentico 11 - Email marketing CMS display issues on hosted environments

I'm trying to implement an email marketing email using a few widgets that gets triggers on submission of a form. Everything has been built and works locally but having issues with the CMS once uploaded to any hosted environment ('CI' and 'UAT' as we call them).
From what I can see everything has been sent up correctly but when editing templates there seem to be some CMS styling issues from some of the iframe loaded elements.
Have attached a screen grab as an example.
There are no console errors and no errors in the Kentico logs so I'm a bit stumped as to what is causing this issue.
Thanks in advance,
Luke
Solved this issue. We had recently upgraded from a previous version of Kentico and the associated updated stylesheets hadn't been uploaded to the development environments so were missing styles in these new areas of the CMS

Saving webpart in SharePoint online

I have a complex form in my webpart. It has JS, JQuery, Bootstrap and form is too complex. I have deployed the form in farm solutions. It works fine.
Then I tried to deploy it to sharepoint online. It has been done. After I have inserted webpart and try to save page shows message "Saving", and it never ends.
I tried several times and failed.
How to overcome this issue?
Is there any shortcut to save and close rather than waiting?
Have a look in the browser's developer tools to see what's going on. Could be a JavaScript error that causes the page to hang or that a ressource isn't being properly loaded. Also run Fiddler to see what goes over the wire and the HTTP status codes.
You can't assume that something that previously worked in a farm solution (a full-trust environment) will just work in SharePoint Online (low-trust environment). That's highly unlikely to be the case.

xPage launched in Notes Client 853 FP5 on win7 displayed as html web pages, no error though

The xPage app was developed and compiled using 851 designer by someone else...
Were suppose to be used inside Notes Client.
Only two of my users when they open the xpage app in the Notes Client 853FP5 standard config on win7 everything displays and no error however it wasn't in xpage UI, instead it looks like some domino view being loaded in a web browser. but all xpage buttons and links are working and displayed. Just the not xpage UI.
If I try to load the app in a web browser, all seems to load fine.
Any ideas? as no other user has got the same issue. If it is an issue with win7, then they are all on win7 though, Or any suggestions in terms of where to start from to debug this issue?
Many thanks
You mention that it's not the "xpage UI" but that "xpage buttons and links are working". It sounds like a caching issue for the CSS files. Try the keyboard shortcut Ctrl-Shift-Delete to clear the local cache.
Source: http://ypastov.blogspot.dk/2013/08/xpinc-clearing-cache.html

Turning on Glimpse causes browser to keep reloading

I am trying to manually add glimpse to an existing WebForms site.
I added Glimpse.Core.dll to the bin directory and edited my web.config as described here.
When I go to http://localhost/Glimpse.axd, I see the Glimpse config page and everything seems OK. When I click "Turn Glimpse On", a banner is added to the top of the page telling me that "Glimpse is now ON". Everything looks great so far.
When I go back to my site, the page loads, the glimpse icon pops up in the lower right corner, and then the page refreshes. Then the process starts over again. If I go back and turn off glimpse, the refresh loop stops.
I've looked at the refresh loop using fiddler, but nothing looks out of place. I've tried to use Firebug or the Chrome developer tools to see what's going on, but the page refreshes to fast for me to see anything.
I'm using glimpse 0.86 and .NET 4.0 on IIS 7 .5 (Windows 7).
Any clues?
Try making sure that you have properly closed any script tags or other markup on your page.
The only time I've seen reports of this behavior was when a page's markup was malformed, and the inclusion of a new/unexpected script caused the page's own javascript to execute.
The Glimpse client, to the best of my knowledge, does not actually have redirect code in it.

Resources