Hi,
We swithed to the most recent version a couple of days ago because we wanted to use the radtoolbar and now our gridview do not display new item that we insert into our collections. We're using CSLA and prior to upgrading everything was ok.
-Terry
We swithed to the most recent version a couple of days ago because we wanted to use the radtoolbar and now our gridview do not display new item that we insert into our collections. We're using CSLA and prior to upgrading everything was ok.
-Terry
4 Answers, 1 is accepted
0
Hi Terry,
With the new version of the RadGridView when you press "Insert" key, new row is automatically added to the data source and enters into Edit mode. GridViewNewRow will appear if you are using a fixed collection (collection with fixed number of elements array or something similar). There was a little bug with this feature, so can you confirm that this issue is valid with the latest internal build? If you again get this issue, can you provide me with more detailed info about your project? A sample application (using Northwind database) which demonstrates the problem will be great since this feature is very sensitive about kind of data source used.
Best wishes,
Nedyalko Nikolov
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.
With the new version of the RadGridView when you press "Insert" key, new row is automatically added to the data source and enters into Edit mode. GridViewNewRow will appear if you are using a fixed collection (collection with fixed number of elements array or something similar). There was a little bug with this feature, so can you confirm that this issue is valid with the latest internal build? If you again get this issue, can you provide me with more detailed info about your project? A sample application (using Northwind database) which demonstrates the problem will be great since this feature is very sensitive about kind of data source used.
Best wishes,
Nedyalko Nikolov
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.
0

Terry
Top achievements
Rank 1
answered on 04 Sep 2009, 01:45 PM
Hello Nedyalko,
Are you talking about the 2009.2 internal build? If so I've already tried it and the issue is still there.
-Terry
Are you talking about the 2009.2 internal build? If so I've already tried it and the issue is still there.
-Terry
0

M
Top achievements
Rank 1
answered on 06 Sep 2009, 01:58 AM
I also found that when a RadGrid is bound to a collection, new items aren't displayed. A new blank row shows, but the columns are not displayed.
I tested with another vendor's grid (C1) in the same form with the same code side-by-side and the 2nd component shows the record as soon as it is added, and displays properly.
So this is certainly a bug in the Telerik control.
This is a showstopper.
I tested with another vendor's grid (C1) in the same form with the same code side-by-side and the 2nd component shows the record as soon as it is added, and displays properly.
So this is certainly a bug in the Telerik control.
This is a showstopper.
0
Hi M,
Generally if you add an item into a collection which supports INotifyCollectionChanged interface, RadGridView will automatically update the user interface, otherwise you have to call RadGridView.Rebind() method.
I'm attached an example which demonstrates both approaches.
P.S. Can you (M. Smith) provide me with more info to what kind of collection do you bind RadGridView in order to get these result (compare to C1 grid)?
Regards,
Nedyalko Nikolov
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.
Generally if you add an item into a collection which supports INotifyCollectionChanged interface, RadGridView will automatically update the user interface, otherwise you have to call RadGridView.Rebind() method.
I'm attached an example which demonstrates both approaches.
P.S. Can you (M. Smith) provide me with more info to what kind of collection do you bind RadGridView in order to get these result (compare to C1 grid)?
Regards,
Nedyalko Nikolov
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.