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

Cell Edit Template and Default Template

3 Answers 352 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ahmet Özgür
Top achievements
Rank 1
Ahmet Özgür asked on 20 Jul 2010, 02:05 PM
Hello,

At the last release i have some problems with cell edit template. If i use my own cell edit template(first code block) the "tab" and "enter" buttons does not make the cell editable. It only focuses on the cell.
But if i don't make an edit template there is no such problem.(second code block)
Also at the cell edit template i need to make double click to go in edit mode. But at default only one click.

P.S : If i use the keyboard up/down arrows to change the value there is no problem. The problem is i can not enter numbers from the keyboad

<telerik:GridViewDataColumn TextAlignment="Right" Header="Fatura Fiyatı" IsReadOnly="False" DataMemberBinding="{Binding IncomingBrutPrice}" DataFormatString="{}{0:F4}">
       <telerik:GridViewDataColumn.CellEditTemplate>
             <DataTemplate>
                  <telerik:RadNumericUpDown Name="NumericBrutPrice" Value="{Binding Path=IncomingBrutPrice, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" ValueChanged="NumericBrutPrice_ValueChanged"></telerik:RadNumericUpDown>
              </DataTemplate>
       </telerik:GridViewDataColumn.CellEditTemplate>
</telerik:GridViewDataColumn>


<telerik:GridViewDataColumn IsGroupable="False"  DataMemberBinding="{Binding ItemTotalPrice}" Header="Toplam Fiyat" Width="100" DataFormatString="{}{0:f4}">
</telerik:GridViewDataColumn>

3 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 21 Jul 2010, 06:09 AM
Hello Ahmet Özgür,

You would would like to have full integration with our validation and editing mechanisms it is best to create a custom column as demonstrated in this blog


All the best,
Milan
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
Ahmet Özgür
Top achievements
Rank 1
answered on 21 Jul 2010, 07:42 AM
Hello,

That is not a solution. As i said before it was at your last release. (2010-2)
Know i uninstalled this and installed 2010-1 SP2. It works perfectly. The "enter" and "tab" keys works.
When you press these buttons the column goes in edit mode directly. But at the last version it doesn't.
Am i doing something wrong or is there something that i have to know.

I used  EditTriggers="CellClick" at my grids.

Regards.
0
Milan
Telerik team
answered on 22 Jul 2010, 12:12 PM
Hello Ahmet Özgür,

We have managed to reproduce the issue and we will try to fix it as soon as possible.


Regards,
Milan
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
GridView
Asked by
Ahmet Özgür
Top achievements
Rank 1
Answers by
Milan
Telerik team
Ahmet Özgür
Top achievements
Rank 1
Share this question
or