turn off Ime of GridView

12 posts, 0 answers
  1. Feng
    Feng avatar
    7 posts
    Member since:
    Oct 2013

    Posted 07 Oct 2013 Link to this post

    Hi!How are you!!

     I am using the version of RadControls for Silverlight Q1 2012 SP1 .

    How to turn off
    Ime of RadGridView!!!

    Thanks!!
  2. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 07 Oct 2013 Link to this post

    Hi,

    What is Ime?

    Regards,
    Rossen Hristov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    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 >>
  3. DevCraft banner
  4. Feng
    Feng avatar
    7 posts
    Member since:
    Oct 2013

    Posted 07 Oct 2013 Link to this post

    IME  [Input Method Editor]

    The IME, the conversion software needed to perform the input such as Japanese and Chinese languages, with many characters on a Windows system.
  5. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 07 Oct 2013 Link to this post

    Hello,

    We do not have anything special written in our source code regarding this IME feature.

    I did a little research and it appears that you can change this setting for a TextBox as described here.

    So what you can try is to attach to the RadGridView.PreparedCellForEdit event, check whether e.EditingElement is a TextBox and if it is a TextBox, use InputMethod.SetPreferredImeState on the TextBox to what you want.

    I hope this helps.

    Regards,
    Rossen Hristov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    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 >>
  6. Feng
    Feng avatar
    7 posts
    Member since:
    Oct 2013

    Posted 07 Oct 2013 Link to this post

    Hi,Telerik.

    Thanks for your answer,But Now there is an interesting question.

    I am using Silverilght 5 and the Telerik version of RadControls for Silverlight Q1 2012 SP1 .

    You can switch the input method(IME) in the RadGridView does not enter edit mode.

    But this problem does not exist when I'm using Silverlight4 .


  7. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 08 Oct 2013 Link to this post

    Hi,

    RadGridView simply uses the standard Silverlight TextBox without doing anything additional connected to these IME settings. So I am almost sure that this is some kind of Silverlight 5 issue.

    If you place a standalone TextBox outside of RadGridView on the page, is the behavior different?

    In case it is different and the standalone TextBox works propetly compared to the TextBox which is inside RadGridView, would it be possible to send us a small dummy project that shows those differences. We will take a look to see what is going on. 

    Thanks in advance.

    Regards,
    Rossen Hristov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    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 >>
  8. Shyu
    Shyu avatar
    10 posts
    Member since:
    Oct 2013

    Posted 08 Oct 2013 Link to this post

    Hi,Rossen Hristov.
    Did you mean that in RadGridView has used the standard Silverlight TextBox ?
    I have searched the source of RadGridView, but I didn't find any TextBox.
    Could you tell me where did you use the TextBox ?
    Or could you tell me how can I get the TextBox in program?

    Regards,
  9. Feng
    Feng avatar
    7 posts
    Member since:
    Oct 2013

    Posted 08 Oct 2013 Link to this post

    Hi! Telerik,

    The first thanks for you answer.

    But premise is that the focus is on the RadGridView, And the RadGridView does not enter into the edit mode.

    In this case, the input method can still be switched.
  10. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 08 Oct 2013 Link to this post

    Hello,

    Yes, of course. We use the good old standard Silverlight TextBox -- not our own. And we don't do anything to it so it won't support those IME settings.

    You will not find this TextBox directly in some XAML. The TextBox is created by a Factory at runtime depending on the data type of the column, i.e. if the data type is DateTime for example it will not be a TextBox, but a RadDateTimePicker. Every column type has a different editor. Most of the columns have a TextBox as their editor.

    I already explained how to get hold of the TextBox in one of my previous posts. I will quote this again here:

    "So what you can try is to attach to the RadGridView.PreparedCellForEdit event, check whether e.EditingElement is a TextBox and if it is a TextBox, use InputMethod.SetPreferredImeState on the TextBox to what you want."

    Now, you did not answer my original question which was the following:

    If you place a standalone TextBox outside of RadGridView on the page, is the behavior different? 

    Please, don't get me wrong, but if the problem is in the Silverlight TextBox itself or your incorrect configuration, we can't really do much to fix Silverlight. I hope this makes sense. That is why I need to know if you get different results if you are not using any Telerik controls at all -- for example if you use a plain TextBox or the standard Silverlight DataGrid provided by Microsoft.

    RadGridView does nothing special to preven the standard TextBox from entering those IME states.

    Unless I have this information, I am afraid that I cannot be of much greater assistance.

    Regards,
    Rossen Hristov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    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 >>
  11. Feng
    Feng avatar
    7 posts
    Member since:
    Oct 2013

    Posted 08 Oct 2013 Link to this post

    hello!!

    I tried using a DataGrid, when it only focus and did not enter the edit mode, the input method can not be switched.

    In Telerik's Demon, this kind of problem also exists, for example, Various Data Sources demon,
    When the RadGridView only gained focus, but did not enter the edit mode, then the input method can be switched.
    And this problem only exist when it is in Silverlight5, there is no such problem when it is in Silverlight4.

    Thanks for your answer!



  12. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 09 Oct 2013 Link to this post

    Hello,

    We believe that this is a general Silverlight 5 issue which is not related to RadGridView in any way.

    In case you think that it is our control RadGridView that has some kind of a bug (which I doubt), I would like to ask you to please open a new support ticket and attach a runnable sample project which demonstrates the issues you are having. The sample project should demonstrate a scenario where a standard control such as the standard Silverlight DataGrid works properly compared to RadGridView which does not work properly with the same settings.

    We will take a look at your project to see what is going on. Also, provide the exact steps that we need to follow in order to reproduce this behavior.

    Unless we have a runnable sample project that clearly demonstrates that our control has a bug, I am afraid that we cannot be of much further help.

    Thank you in advance.

    Regards,
    Rossen Hristov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    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 >>
  13. Feng
    Feng avatar
    7 posts
    Member since:
    Oct 2013

    Posted 11 Oct 2013 Link to this post

    Hi! Telerik

    The first thanks for your answer. Thanks very much!!

    After much argument, the problem may be in the new version SIlverlight5 control on the input method.

    And I am very sorry for my mistake.

    Thank you for helping me since this week.
Back to Top
DevCraft banner