InputPrompt shows without textbox

9 posts, 0 answers
  1. Thomas
    Thomas avatar
    9 posts
    Member since:
    Jan 2012

    Posted 30 Dec 2013 Link to this post

    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?

  2. Thomas
    Thomas avatar
    9 posts
    Member since:
    Jan 2012

    Posted 31 Dec 2013 Link to this post

    Interesting. Turns out the textbox will only not load when the debugger is attached. Any idea why this might be?
  3. DevCraft banner
  4. Todor
    Admin
    Todor avatar
    778 posts

    Posted 02 Jan 2014 Link to this post

    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.
  5. Thomas
    Thomas avatar
    9 posts
    Member since:
    Jan 2012

    Posted 08 Jan 2014 Link to this post

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

  6. Ivo
    Admin
    Ivo avatar
    90 posts

    Posted 09 Jan 2014 Link to this post

    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 >>
  7. Thomas
    Thomas avatar
    9 posts
    Member since:
    Jan 2012

    Posted 10 Jan 2014 Link to this post

    Yes, this problem only occures in Windows Phone 7 projects but independent of the emulator version deployed to.
  8. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 13 Jan 2014 Link to this post

    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 >>
  9. Thomas
    Thomas avatar
    9 posts
    Member since:
    Jan 2012

    Posted 15 Jan 2014 Link to this post

    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.

  10. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 17 Jan 2014 Link to this post

    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 >>
Back to Top
DevCraft banner