[DevExpress Support Team: CLONED FROM T327472: "baseCollection is undefined" JavaScript error occurs after a hotfix for 15.2.4 is installed]
Hi,
I have upgrade my projects using the Project Converter, but the issue is not solved.
I have attached the required screenshot (the web browser's Console).
I hope you can help me with this issues.
Thanks,
Rossano
"ClientParams is not defined" and other JavaScript errors may occur due to outdated custom web form templates after migrating to v15.2
Answers approved by DevExpress Support
Thank you for the sample project, Rossano.
You need to add the following code to the CustomVerticalTemplateContent.ascxfile :
ASPx<dx:ASPxHiddenField ID="ClientParams" runat="server" ClientInstanceName="ClientParams">
</dx:ASPxHiddenField>
Refer to the eXpressApp Framework > Task-Based Help > How to: Customize an ASP.NET Template documentation to learn more on customizing default form templates on the Web.
In the new template there is a ClientParams field. It is often used in client-server interaction.
Please note, you can remove bin and obj folder from the solution to reduce its size.
Let me know if you need further assistance.
Hi Alexey,
I am facing with javascript errors after upgrading my project from 15.1.7 to 15.2.5. I was registering script files in default.aspx page between <script> tags. like fancybox or newsticker etc.
in first load everything is ok . but after ajax call browser logs error messages like $.fancybox is not a function.
HTML<script type="text/javascript" src="Asset/js/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="Asset/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="Asset/js/jquery.newsTicker.js"></script>
<script type="text/javascript" src="Asset/js/jquery.fancybox.pack.js"></script>
<link rel="Stylesheet" type="text/css" href="Asset/css/Animate.css" />
...
above is part of my default.aspx fıle. it was working with 15.1.7. but with 15.2.5 script files are causing errors. And I don't know how to fix.
@Çağlar: To process your recent post more efficiently, I created a separate ticket on your behalf: T351508: JavaScript errors related to third-party script files registered in the Default.aspx page. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.
Hello Rossano,
Have you modified the web.config file as was suggested in the Setting the SettingsFilterControl.AllowHierarchicalColumns property to true reduces ASPxGridView performance when the latter is bound to a complex datasource thread?
I have also found that the most recent version of the Project Converter does not change your configuration file's embedRequiredClientLibraries attribute as required. I have created a separate ticket to research this issue: The Project Converter does not set the embedRequiredClientLibraries attribute to true if it already exists. To solve the issue without the Project Converter, set the embedRequiredClientLibraries attribute to true manually:
<settings rightToLeft="false" doctypeMode="Html5" embedRequiredClientLibraries="true" ieCompatibilityVersion="edge"
Please send me a small sample project where this issue is reproducible if it is reproducible with this configuration.
I'm looking forward to your feedback.