Hello,
i trying many hours. but it doesnt work. So i hope i can get help.
I want make a Datagrid with showing the row number. (Position) automatic.
AllowRowDragAndDrop="true" is true. so i move the 2. row to 1. The Position number must reorder. so beginning from 1 to x
Position | Order ID | Name
1 | 1234
2 |4563
And my second problem ist. I have 2 values to enter. for example hours and price.
so i enter 2 hours and price 20, so would show in the 3 colum the count = 40 for every row!
thank you for support...
Best Regards
Serkan
|
<GridColumn HeaderText="S.No">
<Template>
@{
var con = (context as Order);
var Index = GetRowCounter(con.OrderID);
}
<span>@(Index.Result)</span>
</Template>
</GridColumn>
|