I am trying to develop a win 8 app in visual studio 2012 which implements search contract. To enable search functionality I have added "search pane" element. But while running the app I am getting an exception
"Element not found. (Exception from HRESULT: 0x80070490)"
for the code -
this.searchPane = SearchPane.GetForCurrentView()
can anyone tell me what is problem and solution for this.
Such problems usually occur from XAML markups. Make sure everything is ok in your page markup files, that search pane element in described in appropriate way, without redundant or missing attributes.
User contributions licensed under CC BY-SA 3.0