Hi,
I need to wait that a user enter some valuesin an RadInputPrompt using the following code :
InputPromptClosedEventArgs args = await RadInputPrompt.ShowAwait(inputBoxTitle, MessageBoxButtons.OKCancel);
however, I can't compile it and receive the following message :
Error 1 The 'await' operator can only be used within an async method. Consider marking this method with the 'async' modifier and changing its return type to 'Task'. D:\DISK_C\Windows Phone\Telerik\Samples\Domi_InputPrompt_8\MainPage.xaml.cs 58 51 _CustomMessageBox
Error 2 'Telerik.Windows.Controls.RadInputPrompt' does not contain a definition for 'ShowAwait' D:\DISK_C\Windows Phone\Telerik\Samples\Domi_InputPrompt_8\MainPage.xaml.cs 58 72 _CustomMessageBox
I'm using VS 2012 and have included Telerik.Windows.Controls.Primitives & Telerik.Windows.Core for WP8 as said in the documentation.
Any help will be very appreciated.
Sincerly,
Domi.