Porblem with posting parameter to subgrid

QuestionsPorblem with posting parameter to subgrid
Boján Mihajlov asked 5 years ago

Hi, my problem is when I'm trying to post a parameter with special characters to the subgrid from a master grid( using $opt["subgridparams"]) I'm getting error empty error message. If I check in my browser developer view the Query Parameter settings, I can see that those parameters which have anything else beside simple latin characters, there it is unable to decode value.
So fro example if I it is 'Mezőkövesd' then it has this problem because of ő and ö in it.
Is it posssible to solve this somehow?

4 Answers
Boján Mihajlov answered 5 years ago

Ok, I found the solution. When posting data to subgrid, use urlencode.
example:
$opt["subgridparams"] = urlencode("city, first_name, last_name");

Abu Ghufran answered 5 years ago

Hello,

Can you email me code and database sql dump (test data) to regenerate case?
You can email me at [email protected]

Boján Mihajlov answered 5 years ago

I was wrong. Using urlencode only prevents data from posting it to the subgrid. I used not utf8_decode in subgrid, it works but I have '?' sign at the place of special characters. So I'm still seeking answer for this one.

Abu Ghufran answered 5 years ago

Is your issue resolved?
I am unable to get the result of this ticket and also can't find your direct email.

Your Answer

16 + 0 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?