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

[Solved] doubleclick on empty to insert data

1 Answer 109 Views
Grid
This is a migrated thread and some comments may be shown as answers.
rks
Top achievements
Rank 1
rks asked on 06 Dec 2009, 09:55 PM
Hi,

I am using Visual Studio 2008, Rad Conrtols for ASP.NET AJAX Q2 2009 and .net Framework 3.5 and C# Programming.
I am using RAD Grid to display the data and in line mode to edit the data.
i am always displaying an emptyrow in the grid so that when the user doule clicks on this empty row, the that data row of grid goes into edit mode, user enters the data.If there is no data only an empty row will be displayed in the grid.

Now the situation is where there is no data and the grid only displays an empty and the user double clicks to insert a new data, the following exception is being received:
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values

Can you please help me how i can double click, open the empty grid in edit mode and insert a new row.

Thanks,
RKS

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 10 Dec 2009, 08:29 AM
Hello rks,

 Attached to this message, is a small application, which handles a functionality close to the one which toy mentioned. I hope it gets you started properly.


Kind regards,
Yavor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
rks
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or