I have one scenario where the Telerik RAD gridview has 2 rows.
Gridview having data as like I have mentioned below.
COLUMN1 COLUMN2 COLUMN3 COLUMN4 COLUMN5 COLUMN6
a b TEXTBOX1 TEXTBOX2 TEXTBOX3 TEXTBOX4
a b TEXTBOX5 TEXTBOX6 TEXTBOX7 TEXTBOX8
COLUMN 3 to COLUMN 6 having texbox where the values are entered by the user
The user enters a value for TEXBOX1, TEXBOX2, TEXBOX3, TEXBOX4, TEXBOX5, TEXBOX6, TEXBOX7, TEXBOX8
COLUMN 1 and COLUMN 2 of ROW 1 and ROW 2 will have the same value as mentioned.
I need to know how to add a new row in the grid if the button is clicked
And the entered value should not get affected. It should be present.
The new row should be added with COLUMN1 and COLUMN 2 having same name as that of the ROW 1 and ROW 2
After clicking on the button the new row should be like below
COLUMN1 COLUMN2 COLUMN3 COLUMN4 COLUMN5 COLUMN6
a b TEXTBOX1 TEXTBOX2 TEXTBOX3 TEXTBOX4
a b TEXTBOX5 TEXTBOX6 TEXTBOX7 TEXTBOX8
a b TEXTBOX9 TEXTBOX10 TEXTBOX11 TEXTBOX12
When the new row is added the user entered value for TEXBOX1,
TEXBOX2, TEXBOX3, TEXBOX4, TEXBOX5, TEXBOX6, TEXBOX7, TEXBOX8 should not
get changed or should not get changed.
TEXTBOX9, TEXTBOX10, TEXTBOX11, TEXTBOX12 should be empty for entering value.
Even if the user clicks again the button the old rows should not get affected.
I want to know how to code for this in VB.NET since I am using telerik rad gridview