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

[Solved] Exception while Inserting New Row.

1 Answer 83 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Prakash
Top achievements
Rank 1
Prakash asked on 15 Sep 2010, 03:09 PM
Hi
Silverlight 4

Iam using Silverlight_2010_2_0812_Source and i referred

Telerik.Windows.Data,Telerik.Windows.Controls.Input,Telerik.Windows.Controls 
version 2010.2.915.1040.

If i refer 0812 version dll's i get compilation error's.. thats y  i choose 2010.2.915.1040 version dll's.

I have added the columns programmatically. and added the grouping on 1st column.

Sample Code

GroupDescriptor

 

 

countryDescriptor = new GroupDescriptor();

 

countryDescriptor.Member =

 

"Column1";

 

countryDescriptor.SortDirection =

 

ListSortDirection.Ascending;

 

 

 

this.myGrid.GroupDescriptors.Add(countryDescriptor);

 

 

 

//Adding Columns to Grid//

 

 

 

 

iGridViewDataColumn gvc = new iGridViewDataColumn();

 

gvc.Header =

 

"Column1sdfsdfsdfsdfsdfsdfsdfs";

 

gvc.UniqueName =

 

"Column1";

 

gvc.DataMemberBinding =

 

new System.Windows.Data.Binding("Column1");

 

gvc.Width =

 

new GridViewLength(15);

 

gvc.MinWidth = 50;

myGrid.Columns.Add(gvc);

myGrid.ItemsSource = testClass.GetTests();



Im trying to insert new row using

BeginInsert()

 

, it shows me error.

Find the attachement....

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 16 Sep 2010, 09:21 AM
Hello Prakash,

Can you try with the latest available version and see whether this will happen again? In case it does, open a separate support ticket and attach a runnable sample project that reproduces this behavior. We will then debug it and see why is this happening.

Thanks in advance. We are looking forward to hearing from you.

All the best,
Ross
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
Tags
GridView
Asked by
Prakash
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or