Double click inside the cell not selecting the word before or after underscore('_')

4 posts, 0 answers
  1. Prakhar
    Prakhar avatar
    3 posts
    Member since:
    Feb 2013

    Posted 04 Feb 2013 Link to this post

    Hi,

    I have one RadGridView, inside that i've one GridViewDataColumn where user can enter the details.
    I am facing issues when the entered value is having underscore(_), say Motor_1, so when user double click after 1, instead of selecting the full word only 1 get selected.
    What can i do in order to select the full word on double click irrespective of any special characters.

    Thanks,
    Prakhar
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 04 Feb 2013 Link to this post

    Hello Prakhar,

    The default GridView's editor is a TextBox. In order to select the whole word when it contains underscores, you need to click three times.

    Kind regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. Prakhar
    Prakhar avatar
    3 posts
    Member since:
    Feb 2013

    Posted 05 Feb 2013 Link to this post

    Hi,
    Thanks for your quick reply.
    Do we have any other way to get rid of three clicks for selecting the whole word?

    Thanks,
    Prakhar
  4. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 05 Feb 2013 Link to this post

    Hi,

    You could predefine the CellEditTemplate for the column and configure an editor of your choice. 

    Greetings,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top