|
Rank: Newbie Groups: Member
Joined: 1/28/2011 Posts: 3
|
I am trying to figure out how to prevent the grid from escaping text in the editing process, I have a textboxcolumn that is bound to a column, when I edit it and put in the following text:
\bTEST\b
In the OnItemChanged event when I load the string with:
e.Item.Cells[1].Value as string
I get:
TEST
Note that it has stripped off the \b from beginning and end? Is there a way to change this behavior and treat it like a @ string literal?
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We are not aware of any such escaping behavior. In fact we verified with the latest build and it works fine. So you can try the latest build, or the problem might be in your code. If the problem continues, please try to isolate it into a test page and post the test page. Make sure the test page runs independently and only contains code needed to reproduce the problem.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 1/28/2011 Posts: 3
|
I have a small sample project that shows the issue, where can I send it/post it?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Thank you very much for the sample code. We have posted a new build that fixed this problem. Please see your private message for the download location.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 1/28/2011 Posts: 3
|
Great, our initial testing seems good so far that the bug is fixed.
Thanks for the quick turnaround!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
You are very welcome. Please feel free to let us know if there is anything else we can help.
Thanks!
|
|