Are they just no rendering or is there an error thrown somewhere?
Even though you have changed the template engine it won't help if you're relying on some old API code for v4...the underlying API's where upgraded in v6...so perhaps you nee to refactor some code in order for them to work if they're relying on the Umbraco API?
I AM relying on some old API code for v. 4. What you are telling me is that old User controls for v4 will not work at all on v6 and forwards. Is that true? That surprises me but it might save me for a lot of useless efforts!
Ok...then there can perhaps be some issues. I'm not saying that it's not going to work at all. Just that some methods etc. might be obsolete (Should still work though) and perhaps some stuff does not work anymore or need to be modified a bit.
Have you tried having a look in the trace log at /App_Data/Logs in order to see if that reveals anything useful?
Could you share some of the code from the user control? Perhaps some of the c# wizards in here are able to point out if something needs to be done differently.
User controls are not working
Hi. I have some old User controls used in Umbraco 4. When I render my webforms in Umbraco 7.2.2 they are not working. I have already changed the settings from Mvc to WebForms following the advice at https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/53018-custom-ascx-control-not-working-with-Umbraco-7.
Suggestions, please :-)
/Lars
Hi Lars
Are they just no rendering or is there an error thrown somewhere?
Even though you have changed the template engine it won't help if you're relying on some old API code for v4...the underlying API's where upgraded in v6...so perhaps you nee to refactor some code in order for them to work if they're relying on the Umbraco API?
Looking forward to hearing from you.
/Jan
Hi Jan
I AM relying on some old API code for v. 4. What you are telling me is that old User controls for v4 will not work at all on v6 and forwards. Is that true? That surprises me but it might save me for a lot of useless efforts!
/Lars
Hi Lars
Ok...then there can perhaps be some issues. I'm not saying that it's not going to work at all. Just that some methods etc. might be obsolete (Should still work though) and perhaps some stuff does not work anymore or need to be modified a bit.
Have you tried having a look in the trace log at /App_Data/Logs in order to see if that reveals anything useful?
Could you share some of the code from the user control? Perhaps some of the c# wizards in here are able to point out if something needs to be done differently.
/Jan
Hi Jan
The solution was a lot more simple than the question. This is embarrassing: I forgot to put an attribute on the <form> tag, ie <form runat="server">
Sorry for disturbing but thank you for your interesting answers anyway.
/Lars
Hi Lars
Haha, good to hear it was a simple fix afterall - I should have thought of that :)
/Jan
is working on a reply...