I have a master page with ScriptManager and a web form page using a ajaxToolkit:TabContainer. The tab container disapears randomly in the Safari browser after the user does async postbacks. The following error message is displayed in the developer tools console: "With owner must be set before initializing". I am not sure what is causing the problem or how to fix it specially because it works fine in all other browsers (IE, Chrome, and Firefox)
Here is the error:
Sys.InvalidOperationException: Sys.InvalidOperationException: owner must be set before initialize
initializeScriptResource.axd:1:8910
endUpdateScriptResource.axd:1:49050
_setPropertiesScriptResource.axd:1:49847
createScriptResource.axd:1:50117
(anonymous function)ManagePatientInventory.aspx:1
add_initScriptResource.axd:1:61541
(anonymous function)ManagePatientInventory.aspx:1
appendChild
_loadScriptsInternalScriptResource.axd:1:6068
_loadScriptsInternalScriptResource.axd:1:6132
_loadScriptsInternalScriptResource.axd:1:6132
_loadScriptsInternalScriptResource.axd:1:6132
_loadScriptsInternalScriptResource.axd:1:6132
_loadScriptsInternalScriptResource.axd:1:6132
_loadScriptsInternalScriptResource.axd:1:6132
loadScriptsInternalScriptResource.axd:1:6132
_loadScriptsInternalScriptResource.axd:1:6132
_loadScriptsInternalScriptResource.axd:1:6132
_loadScriptsInternalScriptResource.axd:1:6132
_loadScriptsInternalScriptResource.axd:1:6132
_loadScriptsInternalScriptResource.axd:1:6132
_loadScriptsInternalScriptResource.axd:1:6132
_loadScriptsInternalScriptResource.axd:1:6132
_loadScriptsInternalScriptResource.axd:1:6132
_loadScriptsInternalScriptResource.axd:1:6132
_loadScriptsInternalScriptResource.axd:1:6132
_loadScriptsInternalScriptResource.axd:1:6132
_loadScriptsInternalScriptResource.axd:1:6132
_loadScriptsInternalScriptResource.axd:1:6132
_loadScriptsInternalScriptResource.axd:1:6132
_loadScriptsInternalScriptResource.axd:1:6132
_loadScriptsInternalScriptResource.axd:1:6132
_loadScriptsInternalScriptResource.axd:1:6132
After upgrading the Ajax Control Toolkit to its latest version, the issue seems to be resolved. Thanks for the comment Mikhail Tymchuk!
Related
I have an Outlook add-in that attempts to fetch a custom property that is stored with the mail item using the loadCustomPropertiesAsync [1]:
Office.context.mailbox.item.loadCustomPropertiesAsync(function(asyncResult){
var customProps = asyncResult.value;
console.log(customProps.get("some.prop"));
})
The above snippet of code seems to time out when I access the add-in from Outlook for Android (v3.0.40) app, but works fine on iOS, Firefox and Chrome (Tested on both Windows 10 and Mac ).
Is this a bug?
[1] https://learn.microsoft.com/en-us/office/dev/add-ins/reference/objectmodel/requirement-set-1.3/office.context.mailbox.item
i currently try to use the Font "Quartz MS" which was a given Font in my Fontlist (Visual Studio 2013 Ultimate) - In the designer everything looks awesome - but when I run the app on my device it doesn't load that font (Standard Font used)
Can you help me?
(Tested on Lumia 820)
Thanks!
Here is the full list of supported fonts on the Windows Phone (that come with the device): http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202920%28v=vs.105%29.aspx.
For any additional font you want to use, you need to manually add it to the phone, see http://jeffblankenburgdotcom.wordpress.com/2010/10/24/31-days-of-windows-phone-day-24-embedding-fonts/.
After adding the font file in the project and setting build action to content, reference it in your XAML as follows:
<TextBlock Text="Hello!!" FontFamily="/Assets/Fonts/BlahBlah.ttf#BlahBlah" />
NB: PLEASE NOTE, [Font name].ttf#[Font name]
How can I call yandex navigator from my windows phone 8 app?? I want to call yandex navigation app from my app??
from here: Launch another app from wp7
In Windows Phone 8 however you can use so called protocol handlers, so for example if you wan to launch Skype with selected user, you can use something like:
await Windows.System.Launcher.LaunchFileAsync("skype:myskypeid");
I have an app that incorporates the Windows Phone WebBrowser control into itself. This works great on Windows Phone 7 and functions as you would expect, however, the same app running on Windows Phone 8 does not function properly.
Whenever a user tries to access a Drop Down Menu on Windows Phone 7 they view the full screen item selector that you would expect. However, on Windows Phone 8 it simply highlights the menu box and leaves it there. The options may not be accessed.
Since the code is exactly the same I don't understand how I am receiving two different results. Is there some change to the control on Windows Phone 8 that is breaking my project?
My code is simple and looks like this:
<phone:WebBrowser x:Name="browser" IsScriptEnabled="true"/>
The code that is causing a problem follows this syntax:
<select><option>1</option><option>2</option></select>
In an mobile web application I am working on, I have an option to open a pop up from the parent page. To do this I use the Javascript window.open function.
On a Windows Phone (Nokia Lumia 900 running Phone 7.5) the pop up is opening in the same window instead of opening in new tab. In other devices (Android and iPhone) it works as expected.
How can I get Windows Phone to open the pop-up in a new tab?