This is a migrated thread and some comments may be shown as answers.

InputPrompt shows without textbox

8 Answers 67 Views
InputPrompt
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Thomas
Top achievements
Rank 1
Thomas asked on 30 Dec 2013, 10:33 PM

I'm trying to get some user input on the very first app launch. However, if I put the call into the main method, the textbox does not show inside the prompt. If I call the same code on a button click event later, everything is fine.

So how do I delay the message dialog until everythig is loaded properly?

8 Answers, 1 is accepted

Sort by
0
Thomas
Top achievements
Rank 1
answered on 31 Dec 2013, 10:27 AM
Interesting. Turns out the textbox will only not load when the debugger is attached. Any idea why this might be?
0
Todor
Telerik team
answered on 02 Jan 2014, 02:36 PM
Hello Thomas,

Thank you for contacting us.

I have attached a sample that illustrates how RadInputPrompt can be used in the MainPage's constructor. Please have a look and let me know what I'm missing in order to reproduce the issue that you describe.

Regards,
Todor
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Thomas
Top achievements
Rank 1
answered on 08 Jan 2014, 11:02 AM

Really sorry, I opened the thread in the wrong board. This is an issue with Windows Phone 7.

0
Ivo
Telerik team
answered on 09 Jan 2014, 09:06 AM
Hello,
We've set the proper forum and product.
Could you, please confirm that the reported issue is reproducible only at Windows Phone 7?

Regards,
Ivo
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Thomas
Top achievements
Rank 1
answered on 10 Jan 2014, 01:45 PM
Yes, this problem only occures in Windows Phone 7 projects but independent of the emulator version deployed to.
0
Deyan
Telerik team
answered on 13 Jan 2014, 12:09 PM
Hi Thomas,

Did you try the solution Todor posted here in a Windows Phone 7 context? Let us know if it doesn't work so that we can think of another approach.

Regards,
Deyan
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Thomas
Top achievements
Rank 1
answered on 15 Jan 2014, 11:29 PM

Unfortunately, I get an error when pasting this into a WP7 project:

'Telerik.Windows.Controls.RadInputPrompt' does not contain a definition for 'ShowAsync'



A assume this is because Visual Studio 2012 / WP7 does not support async/await out of the box? I have installed Microsoft.Bcl.Async (from nuget), this does not change anything, though.

0
Deyan
Telerik team
answered on 17 Jan 2014, 01:59 PM
Hi Thomas,

Thanks for writing back.

The ShowAsync method is only available on Windows Phone 8 as of now.

You will need to use the old Show method with a delegate for the closed event on WP7.

Regards,
Deyan
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
InputPrompt
Asked by
Thomas
Top achievements
Rank 1
Answers by
Thomas
Top achievements
Rank 1
Todor
Telerik team
Ivo
Telerik team
Deyan
Telerik team
Share this question
or