We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

The control and other only render the first time

Thread ID:

Created:

Updated:

Platform:

Replies:

118729 Apr 5,2015 03:26 AM Apr 14,2015 01:33 AM LightSwitch HTML 9
loading
Tags: RangeNavigator
Sven
Asked On April 5, 2015 03:26 AM

Hi,
When I first navigate to page with a Control it renders.
When pressing home button and then navigate to same page the Control never renders.

It only works with navigate back.

Regards
Sven

Sven
Replied On April 5, 2015 09:27 AM

Hi,
When I first navigate to page with a Control it renders.
When pressing home button and then navigate to same page the Control never renders.

It only works with navigate back.

Regards
Sven

Hi again,

Cannot use the:

script src="scripts/jquery-1.10.2.min.js"

In my app the slider and panel from jqm stops working.

If I remove the reference it works. Do I have to reference the script?

Strange that we should reference both 1.10.2 and 1.9.1.

Pleace help. Love your Controls but cannot use them

Sven




Sven
Replied On April 5, 2015 09:28 AM

Hi,
When I first navigate to page with a Control it renders.
When pressing home button and then navigate to same page the Control never renders.

It only works with navigate back.

Regards
Sven

This is my default.htm:

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8" />

<meta http-equiv="X-UA-Compatible" content="IE=10" />

<meta name="HandheldFriendly" content="true" />

<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" />

<meta name="apple-mobile-web-app-capable" content="no" />

<meta name="mobile-web-app-capable" content="yes" />

<title>MyScore V4</title>

<script type="text/javascript">

// Work around viewport sizing issue in IE 10 on Windows Phone 8

if (navigator.userAgent.match(/IEMobile\/10\.0/)) {

document.writeln("<style>@-ms-viewport { width: auto!important; }</style>");

}

</script>

<!-- Change light-theme-2.5.0.css and msls-light-2.5.0.css to dark-theme-2.5.0.css and msls-dark-2.5.0.css respectively to use the

dark theme. Alternatively, you may replace light-theme-2.5.0.css with a custom jQuery Mobile theme. -->

<link rel="apple-touch-icon-precomposed" rel='nofollow' href="http://myscoreapps.com/wp-content/gallery/myscoreimages/apple-touch-icon.png" />

<link rel="shortcut icon" rel='nofollow' href="http://myscoreapps.com/wp-content/uploads/2014/10/favicon.ico" type="image/x-icon" />

<link rel="icon" rel='nofollow' href="http://myscoreapps.com/wp-content/uploads/2014/10/favicon.ico" type="image/x-icon" />

<link rel="icon" type="image/png" rel='nofollow' href="http://myscoreapps.com/wp-content/gallery/myscoreimages/favicon-196x196.png" sizes="196x196" />

<link rel="icon" type="image/png" rel='nofollow' href="http://myscoreapps.com/wp-content/gallery/myscoreimages/favicon-160x160.png" sizes="160x160" />

<link rel="icon" type="image/png" rel='nofollow' href="http://myscoreapps.com/wp-content/gallery/myscoreimages/favicon-96x96.png" />

<link rel="icon" type="image/png" rel='nofollow' href="http://myscoreapps.com/wp-content/gallery/myscoreimages/favicon-16x16.png" sizes="16x16" />

<link rel="icon" type="image/png" rel='nofollow' href="http://myscoreapps.com/wp-content/gallery/myscoreimages/favicon-32x32.png" sizes="32x32" />

<meta name="msapplication-TileColor" content="#2d89ef" />

<meta name="msapplication-TileImage" content="Content\Images\mstile-144x144.png" />

<!-- <link rel="shortcut icon" sizes="196x196" rel='nofollow' href="Content\Images\LOGGA196.png">

<link rel="icon" type="image/png" rel='nofollow' href="Content\Images\LOGGA196.png">-->

<link rel='nofollow' href="Content/dotnetlore-ls-blue.css" rel="stylesheet" type="text/css" />

<!--<link rel="stylesheet" type="text/css" rel='nofollow' href="Content/dark-theme-2.5.0.css" />-->

<link rel="stylesheet" type="text/css" rel='nofollow' href="Content/msls-dark-2.5.2.css" />

<link rel="stylesheet" type="text/css" rel='nofollow' href="Content/jquery.mobile.structure-1.3.2.min.css" />

<link rel="stylesheet" type="text/css" rel='nofollow' href="Content/msls-2.5.2.min.css" />

<!-- Wijmo Widgets CSS -->

<link rel="stylesheet" type="text/css" rel='nofollow' href="Content/jquery.wijmo-pro.all.3.20142.48.min.css" />

<link rel="stylesheet" type="text/css" rel='nofollow' href="Content/c1ls-light-4.0.20142.38.css" />

 

<!-- D3 Controls CSS -->

<link rel="stylesheet" type="text/css" rel='nofollow' href="Content/d3ls-light-4.0.20141.35.css" />

<link rel='nofollow' href="content/lswires.css" rel="stylesheet" />

<!-- Default font, header, and icon styles can be overriden in user-customization.css -->

<link rel="stylesheet" type="text/css" rel='nofollow' href="Content/user-customization.css" />

<link rel="stylesheet" type="text/css" rel='nofollow' href="smallbutton.css" />

<link rel="stylesheet" type="text/css" rel='nofollow' href="Content/toastr.css" />

<link rel="stylesheet" type="text/css" rel='nofollow' href="Content/toastr2.css" />

<link rel="stylesheet" type="text/css" rel='nofollow' href="Content/toastr-responsive.css" />

<link rel="stylesheet" type="text/css" rel='nofollow' href="Content/redactor.css" />

<link rel="stylesheet" type="text/css" rel='nofollow' href="Content/ej/default-theme/ej.web.all.min.css" />

</head>

<body>

<div id="msls-id-app-loading" class="ui-body-a msls-layout-ignore">

<div class="msls-app-loading-img"></div>

<span class="ui-icon ui-icon-loading"></span>

<div class="ui-bottom-load">

<div>

MyScore V4<br />

<span class="auto-style1">

Build 2<br />

Fairdeal Group Sverige AB

</span>

</div>

</div>

</div>

<script type="text/javascript" charset="utf-8"

src="https://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0&s=1&mkt=sv-SE"></script>

<script type="text/javascript" src="//ajax.aspnetcdn.com/ajax/4.0/1/MicrosoftAjax.js"></script>

<script type="text/javascript" src="//ajax.aspnetcdn.com/ajax/globalize/0.1.1/globalize.min.js"></script>

<script type="text/javascript" src="Scripts/winjs-1.0.min.js"></script>

<script type="text/javascript" src="Scripts/jquery-1.9.1.min.js"></script>

<script type="text/javascript" src="Scripts/jquery.mobile-1.3.2.min.js"></script>

<script type="text/javascript" src="Scripts/datajs-1.1.1.min.js"></script>

<script type="text/javascript" src="Scripts/Generated/resources.js"></script>

<script type="text/javascript" src="Scripts/msls-2.5.2.min.js"></script>

<!--Wijmo Widgets JavaScript-->

<script type="text/javascript" src="Scripts/amplify.min.js"></script>

<script type="text/javascript" src="Scripts/jquery.wijmo-open.all.3.20142.48.min.js"></script>

<script type="text/javascript" src="Scripts/jquery.wijmo-pro.all.3.20142.48.min.js"></script>

<script type="text/javascript" src="Scripts/c1ls-4.0.20142.38.js"></script>

<!-- D3 Controls JavaScript

<script type="text/javascript" src="Scripts/d3.v3.js"></script>

<script type="text/javascript" src="Scripts/colorbrewer.v1.js"></script>

<script type="text/javascript" src="Scripts/d3ls-4.0.20142.35.js"></script>-->

<script type="text/javascript" src="Scripts/toastr.js" charset="utf-8"></script>

<script type="text/javascript" src="Scripts/toastr2.js" charset="utf-8"></script>

<script type="text/javascript" src="Scripts/toastr3.js" charset="utf-8"></script>

<script type="text/javascript" src="Scripts/jSignature.min.js" charset="utf-8"></script>

<script type="text/javascript" src="Scripts/redactor.min.js" charset="utf-8"></script>

<script type="text/javascript" src="Scripts/sv.js" charset="utf-8"></script>

<script type="text/javascript" src="Scripts/image-uploader.js" charset="utf-8"></script>

<script type="text/javascript" src="Scripts/Image-uploaderDirect.js?n=1" charset="utf-8"></script>

<script type="text/javascript" src="Scripts/moment.min.js" charset="utf-8"></script>

<script type="text/javascript" src="Scripts/moment-with-langs.min.js" charset="utf-8"></script>

 

<script src="scripts/lodash.min.js"></script>

<script src="scripts/lswires.js"></script>

<script type="text/javascript" charset="utf-8" src="Scripts/lightswitch.bing-maps.js"></script>

<script type="text/javascript" charset="utf-8" src="Scripts/bing-maps.js"></script>

<script src="scripts/lscontrols.js"></script>

<script src="scripts/lsu.js"></script>

<!-- Essential -->

<!--<script src="scripts/jquery-1.10.2.min.js"></script>-->

<script src="scripts/jquery.easing.1.3.js"></script>

<script src="scripts/jquery.globalize.min.js"></script>

<script src="scripts/ej/ej.web.all.min.js"></script>

<script src="scripts/jsrender.js"></script>

<script src="scripts/rangeNavigatorSource.se-SE.js"></script>

<script type="text/javascript" src="Scripts/Generated/generatedAssets.js"></script>

<script type="text/javascript">

$(document).ready(function () {

//msls.application.options.disableUrlScreenParameters = true;

msls._run()

.then(null, function failure(error) {

alert(error);

});

});

</script>

</body>

</html>


Sven
Replied On April 6, 2015 02:10 AM

Hi,
When I first navigate to page with a Control it renders.
When pressing home button and then navigate to same page the Control never renders.

It only works with navigate back.

Regards
Sven

This is what I get the second time I visit the page


Jayavigneshwaran [Syncfusion]
Replied On April 7, 2015 09:32 AM

Hi Sven,

Thanks for using Syncfusion product.

We have analyzed this. And replicated the scenario show in our sample. But we are not able to reproduce the reported issue.

We have attached sample for your reference. Find it from the below location
Application3.zip

If you still face any concern, kindly revert back us by modifying the attached sample along with replication procedure.

This will be helpful for us to find and fix the issue sooner.


Please let us know if you have any concern.


Thanks,

Jayavigneshwaran


Sven
Replied On April 9, 2015 02:20 AM

Hi,
Thanks but your Project is not working as it should.

Created a new page as Home screen with a button. When clicking it takes you to the drilldown page.

First click works. Then navigate to homepage and click the button second time it throws an error.

The navigate back button in browser, also throws an error in the msls-2.5.0.

Sven

Sven
Replied On April 9, 2015 02:29 AM

Hi,
Thanks but your Project is not working as it should.

Created a new page as Home screen with a button. When clicking it takes you to the drilldown page.

First click works. Then navigate to homepage and click the button second time it throws an error.

The navigate back button in browser, also throws an error in the msls-2.5.0.

Sven

Uploading your Project back where I added a homescreen.

Pleace get back to me if you get the error too.

Attachment: Application3_2dcf031a.zip

Jayavigneshwaran [Syncfusion]
Replied On April 10, 2015 04:57 AM

Hi Sven,

Thanks for your revert.

We have analyzed this and able to reproduce the reported issue. This issue is already fixed and fix for this is included in 2015, Vol 1 Essential studio release, which is rolled on first week of April, 2015.

This can be downloaded from the below link
Link: http://www.syncfusion.com/forums/118723/essential-studio-2015-volume-1-final-release-v13-1-0-21-available-for-download


And also in addition, we have modified your sample to resolve this as an work around. Now thee sample is working fine. Find the modified sample from the below location
Application3.zip


Please let us know if you have any concern.


Thanks,

Jayavigneshwaran


Sven
Replied On April 10, 2015 09:36 AM

Hi,
Thanks. It's working now!

Regards
Sven

Jayavigneshwaran [Syncfusion]
Replied On April 14, 2015 01:33 AM

Hi Sven,
Thanks for your update.
Kindly let us know if you face any difficulties.

Thanks,
Jayavigneshwaran

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;