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

[Solved] Select (server side) loses url with Ajax Sorting

1 Answer 94 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.
Henrique Potter
Top achievements
Rank 1
Henrique Potter asked on 27 Jul 2010, 02:38 PM

The problem is exactly this, once i sort, or filter a collum with ajax,  the select button that must be server side  doesnt work anymore.

What is happening?

Here is the grid code.

01.<%=Html.Telerik().Grid(Model)
02.                .Name("Clientes_Contatos")
03.                .Columns(colums =>
04.                {
05.                    colums.Bound(u => u.IdClienteContato).Title("Id").Filterable(false).Width(40);
06.                    colums.Bound(u => u.NomeClienteContato).Title("Nome");
07.                    colums.Bound(u => u.CPFFormatado).Title("CPF").Width(130);
08.                    colums.Bound(u => u.TelefoneFormatado).Title("Telefone").Width(110);
09.                    colums.Command(commands => commands.Select()).Width(35);
10.                })
11.                .DataBinding(dataBinding =>
12.                {
13.                    dataBinding.Server().Select("IniciarAtendimentoReceptivo", "Atendimento");
14.                    dataBinding.Ajax().Select("GridAjaxBinding", "Atendimento");
15.                })
16.                .DataKeys(dataKeys =>
17.                {
18.                    dataKeys.Add(c => c.IdClienteContato).RouteKey("IdClienteContato");
19.                    dataKeys.Add(c => c.TipoCliente).RouteKey("TipoCliente");
20.                })
21.                .Pageable()
22.                .Sortable()
23.                .Filterable()
24.            %>

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 27 Jul 2010, 04:50 PM
Hello Henrique Potter,

Unfortunately this is not supported. I will suggest you use Client Selection with the Ajax binding.

Kind regards,
Georgi Krustev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Henrique Potter
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or