I'm trying to use the new 8.1 SearchBox Control in WinJS, but if I already have a Search Contract bound to my app for the Search Charm, I get an access denied error:
Can't hide this app in the search pane because the app has already accessed the search pane.
Can I not use both the new Search Control and the Search Pane at the same time?
According to MSDN documentation, no you can't:
An app can't use both the search box (Windows.UI.Xaml.Controls.SearchBox for Windows Store apps using C++, C#, or Visual Basic, WinJS.UI.SearchBox for Windows Store apps using JavaScript) and the SearchPane
http://msdn.microsoft.com/en-us/library/windows/apps/dn301949.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With