Disable keystrokes

5 posts, 0 answers
  1. Aeroth
    Aeroth avatar
    17 posts
    Member since:
    Oct 2010

    Posted 03 Apr 2012 Link to this post

    Hi Telerik Support,

    Is it possible to disable keystrokes when BusyIndicator.IsBusy is true? Thanks!

    Regards,
    Aeroth Lin
  2. Georgi
    Admin
    Georgi avatar
    349 posts

    Posted 05 Apr 2012 Link to this post

    Hi Aeroth,

    When the RadBusyIndicator is busy, The controls that are set as a content of the RadBusyIndicator are disabled so their keystrokes are disabled. Is this what you are trying to achieve or you want to disable all keystrokes?

    All the best,
    Georgi
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft banner
  4. Aeroth
    Aeroth avatar
    17 posts
    Member since:
    Oct 2010

    Posted 05 Apr 2012 Link to this post

    Hi Georgi,

    Thanks for you quick response.

    I want to disable all keystrokes, e.g.,
    There is a TextBox on my page, users can input value and press enter to search the data they need.
    When the page starts searching the background seems to be disabled(white background), but if you press the keyboard at the same time, the value of the TextBox changed.
    My users input data by bar code reader and the data might be scanned twice so my page will search twice.

    Regards,
    Aeroth Lin
  5. Georgi
    Admin
    Georgi avatar
    349 posts

    Posted 06 Apr 2012 Link to this post

    Hello Aeroth,

    What you can do is bind the IsReadOnly property of the TextBox to the IsBusy property of the RadBusyIndicator. In this way  the users would be more informed that they should not start new search before the current one is still searching. I am sending you a simple project where you can see how I have implemented the described behavior .

    Kind regards,
    Georgi
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  6. Aeroth
    Aeroth avatar
    17 posts
    Member since:
    Oct 2010

    Posted 08 Apr 2012 Link to this post

    Hi Georgi, 

    It works, thanks for your great help.

    Regards,
    Aeroth Lin
Back to Top
DevCraft banner