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

[Solved] Command button only calling "Select" data binding method in Windows Servers browsers

1 Answer 15 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.
fang fang
Top achievements
Rank 1
fang fang asked on 23 Feb 2012, 09:26 PM
Hi All,
I encounter the same problem with this article http://www.telerik.com/community/forums/aspnet-mvc/grid/command-button-only-calling-select-data-binding-method.aspx 

The problem is invoked that the user surf the page with IE, Chrome browsers in the windows server.
If the user surf the page with browsers in windows 7, the page is working fine.

Could anyone can help me to figure out this problem?

Thank You
Tim

The following is my code:
<div class="header-title"><%: Model.Title %></div>
<div class="header-desc"><%: Model.Description %></div>
<% Html.Telerik().Grid(Model.Data)
        .Name("MasterGrid")
        .DataKeys(keys => keys.Add(o => o.LookUp_Id))
        .Columns(columns =>
        {
            columns.Command(cmds => { cmds.Edit().ButtonType(GridButtonType.Image); }).Width(90).Title("Action");
            columns.Bound(o => o.LookUp_Description).Title(Model.FieldName);
            columns.Bound(o => o.IsDeprecated).Width(80).Title("Deprecated").Sortable(false);
            columns.Bound(o => o.LookUp_Id).Hidden();
            columns.Bound(o => o.Master_File_Type_Id).Hidden();
        })
        .ToolBar(cmds => cmds.Insert())
        .DataBinding(binding =>
        {
            binding.Server().Select("SelectMasterData", "Admin");
            binding.Server().Insert("InsertMasterData", "Admin");
            binding.Server().Update("EditMasterData", "Admin");
        })
        .Sortable(sorting => sorting.Enabled(true))
        .Pageable(paging => paging.Enabled(true).PageSize(10))
        .Filterable(filtering => filtering.Enabled(true))
        .Resizable(resizing => resizing.Columns(true))
        .Reorderable(reorder => reorder.Columns(true))
        .Scrollable(scrolling => scrolling.Enabled(true).Height(335))
        .Render();
%>

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 28 Feb 2012, 02:27 PM
Hello,

I am not sure what is causing the problem. The Grid is using the MVC Routing system to generate the links. Could you send a sample project which reproduces this behaviour so I can check the exact setup.

Greetings,
Daniel
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
Tags
Grid
Asked by
fang fang
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or