locked
[UWP]TextBox.IsReadOnly = true - crash app RRS feed

  • Question

  • Hi All,

    If set TextBlock.IsReadOnly to true - I'll get app crash.

    Windows 10 Version 1511 (OS Build 14316.1000)

    No problem on Windows 10 Mobile 10586 build





    Friday, April 8, 2016 10:59 AM

Answers

  • Hi Alexey,

    This is a known bug with the OS (not with VS or the SDK), but I would encourage you to test with the 14332 Insider Fast version of the OS which was just announced today. The new OS should have the fix in it. Please let me know how it goes.

    Thanks,

    Prashant

    Wednesday, April 27, 2016 8:44 PM

All replies

  • TextBlock is for displaying text.  You cannot edit text in a textblock.  Why do you need to set the property?  

    https://msdn.microsoft.com/library/windows/apps/br209652

    Saturday, April 9, 2016 2:10 PM
  • A UWP TextBlock doesn't have any IsReadOnly property: https://msdn.microsoft.com/sv-se/library/windows/apps/br209652

    The TextBox class has but setting this shouldn't crash the app: https://msdn.microsoft.com/sv-se/library/windows/apps/xaml/windows.ui.xaml.controls.textbox.isreadonly.aspx

    Hope that helps.

    Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. Please don't ask several questions in the same thread.

    Sunday, April 10, 2016 5:47 PM
  • My wrong.... of cource is TextBox :D

    Monday, April 11, 2016 12:49 PM
  • @Alexey.U,

    I think that textbox should not cause this issue. Is it a new simple project?

    Please test this, if it is a new simple project which can reproduce this issue. Please repair your Visual Studio and Windows SDK.

    If only your old project can reproduce this issue, I think you need to clean and rebuild your project.

    Best regards,

    Barry


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, April 12, 2016 8:45 AM
  • Hi Alexey,

    Thank you for your reporting, we can reproduce this issue, our experts are investigating it and will come back if have any updates.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, April 26, 2016 2:32 AM
  • Hi Alexey,

    This is a known bug with the OS (not with VS or the SDK), but I would encourage you to test with the 14332 Insider Fast version of the OS which was just announced today. The new OS should have the fix in it. Please let me know how it goes.

    Thanks,

    Prashant

    Wednesday, April 27, 2016 8:44 PM