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

[Solved] No URL Encoding for Custom Parameters on changing Page-Size

1 Answer 46 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 01 Aug 2012, 12:28 PM
Hey there,

I implemented the Grid with CustomBinding to a Controller. The Grid is pageable, but I need an extra parameter passed to the Controller.
 Therfore I did following:

.DataBinding(databinding => databinding.Server().Enabled(true).Select("Actionname", "Controllername", new { param1 = parameter }))
.Sortable(sort => sort.Enabled(true).SortMode(GridSortMode.SingleColumn).AllowUnsort(false))

In the Frontend I am able to change the sort direction of one column with no problems. The parameter is passed to the Controller.
But when I change the page-size, no special characters (especially the german umlauts) are transferred correctly. E. g. the "ß" is passed as "Ã".

How can I solve this problem?

1 Answer, 1 is accepted

Sort by
0
Richard
Top achievements
Rank 1
answered on 07 Aug 2012, 08:32 AM
No one?
Tags
Grid
Asked by
Richard
Top achievements
Rank 1
Answers by
Richard
Top achievements
Rank 1
Share this question
or