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

[Solved] Grid Filter with special character

2 Answers 45 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Richard
Top achievements
Rank 1
Richard asked on 31 Jan 2011, 12:46 PM
Hi

I have a question about grid filter.
I have to filter with ' " ' (double quote) and ' < ' characters.
How can i do this?

Regards
Richard

2 Answers, 1 is accepted

Sort by
0
Richard
Top achievements
Rank 1
answered on 31 Jan 2011, 01:57 PM
I have new news.

i can't show full data.
for example, if my data is 'DEMO<demodata>' in my database,then it's in my grid is like 'DEMO', i don't see <demodata>.

i tried encoded(true) and encoded(false), but it's don't fixed the problem.

how can i solve this problem?
0
samer
Top achievements
Rank 1
answered on 17 Jun 2011, 08:10 AM
Salam, if you want to save DEMO<demodata> or any tags html you have to put in saving :
server.htmlencode(txt.text)
in loading put server.htmldecode(from database).
about filtering i don't have any idea. and i want to know how we can handle this error filtering i f we put <> or double quotation.
Best regards.

Tags
Grid
Asked by
Richard
Top achievements
Rank 1
Answers by
Richard
Top achievements
Rank 1
samer
Top achievements
Rank 1
Share this question
or