This question is locked. New answers and comments are not allowed.
Phil Applegate
Top achievements
Rank 1
Phil Applegate
asked on 27 Jul 2010, 09:10 AM
I use Telerik Grid with 2 command links:
and when clicking 'Edit' the resulting markup doubles the links 'Update' and 'Cancel'/ It looks like that:
colums.Command(commands => commands.Edit());colums.Command(commands => commands.Delete());7 Answers, 1 is accepted
0
Hello Phil Applegate,
Could you please elaborate more on this issue. How did you bind the grid? Can you share grid declaration?
Did you try to reproduce this erroneous behavior on our online demos?
Regards,
Georgi Krustev
the Telerik team
Could you please elaborate more on this issue. How did you bind the grid? Can you share grid declaration?
Did you try to reproduce this erroneous behavior on our online demos?
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
0
Phil Applegate
Top achievements
Rank 1
answered on 27 Jul 2010, 12:03 PM
I'm using Ajax binding and inline Ajax editing. Here's the full piece of code:
<% Html.Telerik().Grid<DomainModel.Entities.BusinessAccountDTO>() .Name("BusinessAccountsGrid") .DataKeys(dataKeys => dataKeys.Add(c => c.BusinessAccountID)) .ToolBar(commands => commands.Insert()) .Columns(colums => { ... colums.Command(commands => commands.Edit()); colums.Command(commands => commands.Delete()); }) .DataBinding(dataBinding => dataBinding .Ajax() .Select("SelectAjax", "People", new { searchMenuId = 0}) .Insert("InsertAjax", "People") .Update("UpdateAjax", "People") .Delete("DeleteAjax", "People") ) .HtmlAttributes(new { style = "overflow: auto" }) .Pageable(pager => pager.PageSize(6)) .Sortable() .Filterable() .Groupable() .Editable(editing => editing.Mode(GridEditMode.InLine)) .Render(); %>:0
Phil Applegate
Top achievements
Rank 1
answered on 27 Jul 2010, 12:17 PM
It looks this way in Firefox. BTW, it behaves that strange both either 2010.1.309 or 2010.2.713.
0
Hello Phil Applegate,
Unfortunately the required functionality is not supported. Currently grid supports only one column for commands. Nevertheless I will forward your message to our developers for further consideration.
Kind regards,
Georgi Krustev
the Telerik team
Unfortunately the required functionality is not supported. Currently grid supports only one column for commands. Nevertheless I will forward your message to our developers for further consideration.
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
0
Phil Applegate
Top achievements
Rank 1
answered on 27 Jul 2010, 02:14 PM
Thanx for your reply, Georgi. I still kinda wonder how come grid doesnt support multiple command actions...
0
Accepted
Hi Phil Applegate,
Grid supports multiple action commands, but they should be placed in one command column. This is by design.
Best wishes,
Georgi Krustev
the Telerik team
Grid supports multiple action commands, but they should be placed in one command column. This is by design.
Best wishes,
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
0
Phil Applegate
Top achievements
Rank 1
answered on 27 Jul 2010, 03:27 PM
That's exactly what I needed! Just replaced
with
and it works properly.
Generated markup in Firefox looks perfect, although it still slides around a little bit in edit mode in both IE8 and Opera.
Anyway, your advice is very appreciated!
.Columns(colums => { ... colums.Command(commands => commands.Edit()); colums.Command(commands => commands.Delete()); })colums.Command(commands => { commands.Edit(); commands.Delete(); });Generated markup in Firefox looks perfect, although it still slides around a little bit in edit mode in both IE8 and Opera.
Anyway, your advice is very appreciated!