This question is locked. New answers and comments are not allowed.
Hi,
I want one default blank New Row always visible in my RadGrid also I want Multiple row select and copy paste fucntionality.
RowSelectMode="Extended" is not working properly ,when I am againg trying to paste selected rows it is giving Index out of range exception.
I am attaching screen shot of my required grid.
Regards,
Ashish Joshi
I want one default blank New Row always visible in my RadGrid also I want Multiple row select and copy paste fucntionality.
RowSelectMode="Extended" is not working properly ,when I am againg trying to paste selected rows it is giving Index out of range exception.
I am attaching screen shot of my required grid.
Regards,
Ashish Joshi
5 Answers, 1 is accepted
0
Hi Ashish,
You can very easily achieve this by setting the ShowInsertRow property of RadGridView to true and the SelectionMode property to Multiple or Extended. You can copy and paste selected items as you would usually do - just press Control + C and Control + V.
Greetings,
Yavor Georgiev
the Telerik team
You can very easily achieve this by setting the ShowInsertRow property of RadGridView to true and the SelectionMode property to Multiple or Extended. You can copy and paste selected items as you would usually do - just press Control + C and Control + V.
Greetings,
Yavor Georgiev
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
Ashish
Top achievements
Rank 1
answered on 21 Oct 2010, 12:06 PM
Hi,
Thanks for the quick reply,but the solution you have provided actually I had already tried .
1)ShowInsertRow property of RadGridView to true: It is showing me one button above the first row and on click of this button row
is being added before first row and my requirement is differnt I want one blank row always visible at the bottom of the Grid.
2)SelectionMode property to Multiple or Extended:It is pasting above the selected row (after which I want to insert copied rows) i.e. I will loose the data of that selected row and after pasting once when I am again trying to copy I am prompting up with an exception popup "Index out of range......"
Regards,
Ashish Joshi
Thanks for the quick reply,but the solution you have provided actually I had already tried .
1)ShowInsertRow property of RadGridView to true: It is showing me one button above the first row and on click of this button row
is being added before first row and my requirement is differnt I want one blank row always visible at the bottom of the Grid.
2)SelectionMode property to Multiple or Extended:It is pasting above the selected row (after which I want to insert copied rows) i.e. I will loose the data of that selected row and after pasting once when I am again trying to copy I am prompting up with an exception popup "Index out of range......"
Regards,
Ashish Joshi
0
Hi Ashish,
1) You can easily move the Insert Row to the bottom of the RadGridView using Expression Blend to tweak the control template.
2) Could you please explain in more detail? What do you mean by 'pasting above the selected row' - does it begin pasting on the row just before the selection?
Best wishes,
Yavor Georgiev
the Telerik team
1) You can easily move the Insert Row to the bottom of the RadGridView using Expression Blend to tweak the control template.
2) Could you please explain in more detail? What do you mean by 'pasting above the selected row' - does it begin pasting on the row just before the selection?
Best wishes,
Yavor Georgiev
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
Ashish
Top achievements
Rank 1
answered on 21 Oct 2010, 01:05 PM
Hi,
Thanks for an effort made by you.
1) Actyally I dont want that Click here To Add Button,that is fine I can move it to bottom but instead of Button I want to display a blank row at the bottom of my grid.
2)Copy Paste:
Suppose we have 5 Rows
Say:
A
B
C
D
E
I copied A,B and C and I want to paste these 3 rows below E.
Like
A
B
C
D
E
A
B
C
But In actual result It is overriding E with A as
A
B
C
D
A
B
C
Thanks for an effort made by you.
1) Actyally I dont want that Click here To Add Button,that is fine I can move it to bottom but instead of Button I want to display a blank row at the bottom of my grid.
2)Copy Paste:
Suppose we have 5 Rows
Say:
A
B
C
D
E
I copied A,B and C and I want to paste these 3 rows below E.
Like
A
B
C
D
E
A
B
C
But In actual result It is overriding E with A as
A
B
C
D
A
B
C
0
Hi Ashish,
1) Unfortunately we do not currently support an insert row which is always in edit mode (the GridView can only have one row in edit mode at a time).
2) This is how it's supposed to behave. If you wish to paste after the selection, you will need to handle the Pasting event, insert a new item programmatically just after the selection and select it. This way pasting will start from it.
Regards,
Yavor Georgiev
the Telerik team
1) Unfortunately we do not currently support an insert row which is always in edit mode (the GridView can only have one row in edit mode at a time).
2) This is how it's supposed to behave. If you wish to paste after the selection, you will need to handle the Pasting event, insert a new item programmatically just after the selection and select it. This way pasting will start from it.
Regards,
Yavor Georgiev
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