Hi,
I am using VS 2013, Telerik.Web.UI Version 2014.2.618.45, developing a website using UI for ASP.Net AJAX telerik Q2 2014 controls.
I have radgrid and binding columns to radgrid.
Now, the problem is while binding and retrieving value of column containing special characters.
Lets say one of the column has value as "Test test <br /> test ' test " test <asp:Label Test \n test \\n test".
I made this value to test. I want to display this in grid and also, I need to fetch this in two events, ItemDataBound and ItemCommand.
I tried various methods like HTMLEncoding, replacing characters and also tried putting label control inside ItemTemplate but could not retrieve value as it is.
So what I am looking for is,
To display and retrieve data value "Test test <br /> test ' test " test <asp:Label Test \n test \\n test" and "Test line 1 \r\n test line 2 \r\n" which is stored using multiline textbox.
1. Is it possible to handle both scenario together? like handle straight string and also handle multiline textbox value to display and retrieve as entered.
2. How to display above value in grid perfectly as it is? Consider both the cases, first, its string as it is and second, possible that its stored using multiline textbox
3. How to display above value in telerik:GridBoundColumn and in <asp:Label control inside <telerik:GridTemplateColumn?
4. How to retrieve above value from grid as it is, in ItemDataBound and ItemCommand events?
Thanks in advance,
I am using VS 2013, Telerik.Web.UI Version 2014.2.618.45, developing a website using UI for ASP.Net AJAX telerik Q2 2014 controls.
I have radgrid and binding columns to radgrid.
Now, the problem is while binding and retrieving value of column containing special characters.
Lets say one of the column has value as "Test test <br /> test ' test " test <asp:Label Test \n test \\n test".
I made this value to test. I want to display this in grid and also, I need to fetch this in two events, ItemDataBound and ItemCommand.
I tried various methods like HTMLEncoding, replacing characters and also tried putting label control inside ItemTemplate but could not retrieve value as it is.
So what I am looking for is,
To display and retrieve data value "Test test <br /> test ' test " test <asp:Label Test \n test \\n test" and "Test line 1 \r\n test line 2 \r\n" which is stored using multiline textbox.
1. Is it possible to handle both scenario together? like handle straight string and also handle multiline textbox value to display and retrieve as entered.
2. How to display above value in grid perfectly as it is? Consider both the cases, first, its string as it is and second, possible that its stored using multiline textbox
3. How to display above value in telerik:GridBoundColumn and in <asp:Label control inside <telerik:GridTemplateColumn?
4. How to retrieve above value from grid as it is, in ItemDataBound and ItemCommand events?
Thanks in advance,