remove the "the spelling check is complete" but on WPF ... and twice

4 posts, 0 answers
  1. fff
    fff avatar
    8 posts
    Member since:
    Jun 2016

    Posted 13 Apr Link to this post

    Hi all,

    I am starting a spellchecker on a textbox createad at run time like this:

    RadSpellChecker.Check(internalTextBox, SpellCheckingMode.AllAtOnce);

     

    I see multiple threads on client/server solutions, but no help on WPF on this message "the spelling check is complete"

    So how to remove or hide it, both in:

    1. on the main spellcheck window, when finished and waiting for "OK"
    2. on the small final popup window with warning triangle (similar to a MessageBox)

    Both have almost not added value, and are very user-annoying if you call the spellcheck frequently in a loop

    Any code or trick for that in WPF ?

     

    Thanks,

    Favrice

  2. Boby
    Admin
    Boby avatar
    631 posts

    Posted 18 Apr Link to this post

    Hello Fabrice,

    There is no easy way to customize this behavior. I've prepared sample project which illustrates that you can re-implement most of the functionality by including customized version of the built-in RadSpellChecker and SpellCheckAllAtOnceWindow classes. I've marked the significant changes with "// CHANGE: " comments.

    This is less than ideal solution, as you won't get potential updates and fixes, but is the only approach I can think of with the current API. 

    Regards,
    Boby
    Telerik by Progress
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
  3. fff
    fff avatar
    8 posts
    Member since:
    Jun 2016

    Posted 24 Apr Link to this post

    Hi Boby,

    I took some time to look at possible solutions

    First ... I am impressed & really want to thank you for your time on making this sample.

    I think of future like you did ... & i known too well what will happen: i will forget about that and suddenly it will brake because of any future library update. So this is not a route I'd like to follow. I want to keep Telerik's original solutions and no tweaks

    Maybe I will be rude but ... did you not spend more time on that, than one of your colleague "just" adding once for all x2 bool parameter disabling this MessageBox and the text ?

    • it's not a breaking change for others users (default values would maintain current behavior)
    • it has been questionned already several times

    ?

    Fabrice

  4. Boby
    Admin
    Boby avatar
    631 posts

    Posted 27 Apr Link to this post

    Hello,

    I've additionally looked into the case, and now I believe this is more of a bug in the implementation, as such property exists, but it's not fully respected in this scenario - see the item I've just created: SpellChecker: RadSpellChecker.WindowSettings.ShowAlertWhenSpellCheckingCompleted doesn't suppress all alerts in AllAtOnce scenario.

    The fixing would not be actually so easy, as automatic closing could interfere with other scenarios in which these dialog are used - for spell checking RadGridView and DataGrid; and we also support two different platforms (WPF and Silverlight) which have some different implementations. 

    I would like to mention though that the priority of the bug is relatively low, and we currently do not expect major changes in the implementation, so the workaround provided may actually be a feasible solution.

    Regards,
    Boby
    Telerik by Progress
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top