The white spaces are truncated.

4 posts, 1 answers
  1. Rui
    Rui avatar
    14 posts
    Member since:
    Sep 2015

    Posted 23 Nov 2015 Link to this post

    Hi,

         Now I am looking into this demo
         http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/commanditem/defaultcs.aspx

         I found when I input more than one white spaces in the edit box, they are truncated to one when I saved the new record.

         Is it an expected behavior? 

    Best regards

    Zhang Rui

  2. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 23 Nov 2015 Link to this post

    Hi,

    I am not sure that I understand what is the exact behavior you are talking about and how you expect it to work. Therefore I will ask you record a video which  shows the exact steps we should follow in order to replicate it locally,

    Regards,
    Pavlina
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. Rui
    Rui avatar
    14 posts
    Member since:
    Sep 2015

    Posted 24 Nov 2015 in reply to Pavlina Link to this post

    Hi Pavlina,

          Please find the attached screenshot.  I expect that I can see the same text in editing and after saving. Thanks

    Best regards

    Zhang Rui

     

  4. Answer
    Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 25 Nov 2015 Link to this post

    Hello,

    Thank you for the clarification. Indeed the described behavior can be observed and this is how the browser trim spaces in HTML output. However, you can try the solution provided in the the forum thread below in order to achieve the desired result:
    http://www.telerik.com/forums/show-leading-and-trailing-spaces-in-a-radgrid-column

    Regards,
    Pavlina
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top