This is a migrated thread and some comments may be shown as answers.

The white spaces are truncated.

3 Answers 41 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rui
Top achievements
Rank 1
Rui asked on 23 Nov 2015, 09:13 AM

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

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 23 Nov 2015, 04:30 PM
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
0
Rui
Top achievements
Rank 1
answered on 24 Nov 2015, 09:33 AM

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

 

0
Accepted
Pavlina
Telerik team
answered on 25 Nov 2015, 04:16 PM
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
Tags
Grid
Asked by
Rui
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Rui
Top achievements
Rank 1
Share this question
or